When you get the urge to eat all that sugar are you actually hungry? If so, maybe you should eat more real food, especially meat or eggs, something really satisfying that can leave you not feeling hungry for hours. When I eat really satisfying stuff like that I can sit in a room full of delicious treats and forget they are there.
If it's just that you suddenly think, hmm, xyz sounds really good and then you get obsessed and after the first bite you're off on a binge, you probably have some other kind of issue to work out. Perhaps you can just observe yourself to see what triggers this and then work on finding better ways to deal with that trigger. I know that I get triggered by job stress and I probably should find better ways to handle that kind of stress than chocolate.
Female, 5'3", 48, Starting weight: 163lbs. Current weight: 135.
Starting bench press: 30lbs. Current bench press: 75lbs.