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.