However this addiction function exists at 'lower' level than the intellect, which is why its so hard for the higher function (the tiny conscious part) of the brain to stop an unwanted addiction.
You grow out of addiction when the lower level brain decides that your addiction is not actually required for you to get food or sex.
You can accelerate removing an unwanted addiction by paying very close attention to the mechanics of the activity and by simply introducing new activities especially if those activities are completed with food or sex.