Often, yes. Rhode Island offers paths such as drug court and diversion programs that can substitute treatment for a conviction, especially for first offenders whose charges stem from dependency rather than dealing. Completing a program can lead to a dismissal and keep the offense off your record. A lawyer can argue that treatment, not prison, fits your situation.