I agree that the blunt blade of crime -> prison time is probably not the most efficient or effective deterrent or rehabilitation in every case. However, we (in the States) have constitutional protection against "cruel and unusual punishment", which is what prevents judges from getting much more creative than varying lengths of incarceration. The first judge to start blazing this trail would probably just get shot down on appeal.