Septimia
There should be options other than prison for non-violent crimes, unless the person is a repeat offender. Then there might be room for violent criminals to be given longer sentences.
It would be complicated to set up, perhaps, but could be more effective in the long run.
Other options already exist in UK
sentencing.uk/guides/community-order-explained
A community order is imposed under section 200 of the Sentencing Act 2020. It replaces the various community sentences that existed under earlier legislation with a single flexible order. A community order must include at least one requirement and can last between 1 day and 3 years.
The court can include any combination of the following requirements: an unpaid work requirement (40 to 300 hours, sometimes called community service), a rehabilitation activity requirement (RAR), a programme requirement, a mental health treatment requirement (with the consent of the offender), a drug rehabilitation requirement (with consent), an alcohol treatment requirement (with consent), a curfew requirement (typically backed by electronic monitoring), an exclusion requirement, a residence requirement, an attendance centre requirement (primarily for those under 25), a foreign travel prohibition requirement, or a banned activity requirement.