Mecanix, not sure if this has been mentioned to you, but I used something that the writer calls Urge Surfing. This is a
Sober Recovery page about it.
I just searched for 'urge surfing', and there are many pages about this,
here is another one. It's a tool that is discussed in the context of dealing with addictive behaviors, so it's right on the money. I found it extremely helpful for me.