I believe most prison labor schemes are scuttled because labor unions, and I agree with them here, say it deprives gainful employment to law abiding citizens.
So perhaps the solution is pay prison workers the prevailing wage scale, and then deduct costs of housing, food, restitution, and bank the rest for them when they have paid their debt to society. Sometimes the cruelty of so-called conservatives astounds me.