Essentially, create a custom I Want To Be The Guy game for prison inmates.
As punishment, they are given 10 days in prison to try and clock the game, depending on the severity of their sentence, they be either forced to play on hard, or 'ultrahard' or 'wtf' mode.
If they don't clock it within
the time limit, they will have to serve the full sentence plus a few years (depending on progress in the game).
If they pass, then they will get reduced sentence, or maybe automatic parole.
There will be suicide watch measures during the 10 days in prison.
-----
Alternative measures: Life in prison is dependent on how well you can play IWTBTG