I saw this when I worked for TDCJ. Prisons are sitting on 50-60 acres with crops, livestock, and all types of textile and craft shops.
It keeps them busy and at least they are able to learn something productive while locked up. Most of them have football numbers but going out to clean those gov't buildings is the closest they'll get to being apart of the outside world.
Plus the prison can use that labor to cut costs on purchasing from vendors.
You need mattresses or prison clothes? Create a textile shop.
Transport vehicles need repairs but the state won't put out money for it?
Open your own auto shop and teach the inmates how to repair shyt.
All those crops or livestock?
Process, butcher, and send it to the prisons so the inmates can cook it then eat it.
Dudes are already in prison locked up for some years, some deserve the time while other don't but at least while they are there we won't have to worry about them sitting around not doing shyt all day. I'm all for rehabilitation to avoid recidivism.