My trick, and I have been through addiction to a number of things over the years, is if you can "get" what it is you really want then the hook is out! You will still want toast w/ butter and jam but it will not drag you and if you do indulge it will not scratch the "itch". The food or whatever is just a place holder for that which a part of you would rather die or become terribly ill in preference to knowing the truth.
Step one is to really stop and feel the feeling. Slow the process down a bit rather than just jumping in and eating whatever it is or doing whatever etc. Feel it, let the feeling cook inside you a bit. Then ask yourself "What do I really want?" And don't accept the first easy answer.
Here is a personal example: I used to come home from school at night and eat 6 or 8 slices of toast w/ so much butter it would drip out the other side. Not such a great thing and I was starting to fatten up for only the second of two times in my life. I love toast and still miss it but what I discovered at that time was that what I really wanted was close, human connection. I had been living as a monk for many years including several in a monastery (the other time I started to gain excess weight). Once I knew that truth, toast no longer "did it for me". Dang, stuck with reality! So I made a project of it all and though it took 2 or 3 years and was pretty traumatic (first date EVER at age 39), that was what got me moving and I ended up getting married. Still am to same woman 18 years later.
So it is pretty much guaranteed that what you find will be not ultimately surprising and also somewhat discomfiting but in the end very very valuable and possible life saving.