Yes I actually would do this. Why can’t they lay bricks? Would they rather starve? There would need to be some training component for several jobs (bulldozer driver) but I think there could be a job that’s right for most. This is pretty similar to what the military does I believe, you get a job based on aptitude and such.
I don’t know if it’s the perfect solution but it feels more appropriate than our current approach. I don’t know much about the German way, I just know we pay for idle bodies while we have a lot of infrastructure that needs rebuilding.