The problem with this approach is that its counterproductive, as many prisons act as graduate schools in crime.
Combine this with society mandating severely curtailed opportunities to participate in non-criminal work and you get a perfect storm where prisons churn out more hardened criminals, which leads to more crime, which leads to more prisoners.