It can be difficult for sure.
Today...I had one on the way to work then had a meeting and the person I met wanted one so I had another. Then a couple hours later I had one more, then back at my organisation's facility I had one more. Four...on a day I promised myself I'd only have one. #fail
I think my substitute addiction is medicine.
As long as that medicine isn't pills wrapped in plastic bags and smuggled into the States you're all good. Lol.
I'm only joking, I know what you meant and I think distraction can be a good way to beat an unwanted habit.