This is an interesting article which might have some bearing on the obsessive compulsive behaviour some guitarists have and the question of addiction in general.
I generally find that when I am engaged in practice, my cravings drop away (not that I drink, smoke or overeat…)
For years, those who battle addictions to alcohol, smoking, and overeating have been forced to rely on uncertain methods for curbing their cravings, such as counseling, hypnosis, or heroin. But a recent study by psychology researchers at Plymouth University suggests that playing Tetris for just three minutes can reduce those cravings in both strength and frequency.