If you read more into the cash for kids scandal, you'll see it was the tip of the iceberg. The level of nepotism in Luzerne county was absurd and the state did nothing to fix it. There were judges abusing their positions, using staff for personal errands, showing blatant bias against certain attorneys, fixing cases, etc. By the time the FBI was done, around a half dozen judges in the county were convicted of various offenses.
My takeaway from the whole thing was that judges have too much power and too little oversight. They're the one relic of the royalty/nobility system that we kept after the American revolution.
Some of that will be corrupt.
It's not that I don't think incentives can play a role; I just wanted to emphasize how incentives, profit, and creativity can go awry.
If you applied this same level of scrutiny to the existing prison system, I'm sure you could come up with far worse outcomes using far less speculation. For example: What's to stop state prison guards from torturing inmates? Answer: Nothing, because they have qualified immunity.[1]
1. https://www.newsweek.com/prison-inmate-qualified-immunity-pr...