“It is said that in Zen practice, one should maintain an immovable mind. This means that if the mind is not attached to anything, there are no obstacles, so in all of life, nothing is an obstacle”
And as simplistic as it may sound - a person doesn’t have to be attached to the thing that they consider to be addicted to.