Practicing self-restrictions is a good advice in general, but I wouldn't equate the addiction problem with dopamine levels. There is a meaning in everything you do, including your addictions. Sometimes this meaning is very deep. And you won't solve the problem without understanding roots of it.
Yep totally agree, you will need need to solve the root issue at some point. The detox is just to meant to give you a chance to look at the situation clearly and hopefully put you in the path to addressing the root issue. which hopefully means you won’t need to medicate thru ur addiction