On the federal level in the USA that is not possible. Firearms and violence add on points to your sentencing and are often linked with mandatory minimums. Firearms in particular really tank your chances of a short sentence. Prior to the First Step Act you couldn't even participate in RDAP with a firearm linked to your crime.
I outlined this in a different comment, but programming like RDAP should be developed and standardized to aide convicted in rehabilitation.