I didn't read all of the posts above, but let me relate:
I have the same problem you have. If there is food available, I will eat it. I ended up making it a point to stop buying ice cream, chips, candy, and similar junk food because if it was there, it was eaten. Here are some examples:
5 pound jar of Jelly Belly jelly beans. I love them, and they are a small snack for most people - 5 here, 5 there. I would sit down with the jar in my lap and just eat them. I went through a pound of Dr. Pepper and Red Apple beans in an hour.
Easter chocolate. After I stopped buying candy, somehow, it shows up. I eat it. I ate a few pounds of chocolate in a single day. Let me tell you now, I paid for that dearly the next day (actually, a few days later because my GI tract was so static.)
Chips and salsa. Open a bag of chips and a jar of salsa and keep eating until the jar of salsa is gone. Then, probably keep eating the chips.
The fact that a lot of this behavior made me sick did not matter. The fact that I felt physical consequences was secondary. The food was delicious and I loved eating it.
To finally get over this, I had to make it a point to focus on my long term health and well being. I began working out and joined a Crossfit gym. I focused on competitive cycling. I attended Crossfit and Olympic lifting certifications. Once my focus was on my level of fitness, then food began to matter, but not as it had previously "mattered."
Food is an energy source, first and foremost. If you eat the wrong shit, you will sabotage your athletic performance in both the short and long term. Too much chocolate and refined carbs, and you'll be donked the next day at the gym. You will also likely over eat, put on additional body fat, and your metabolic conditioning and cardio endurance will suffer. Eat insufficient protein and your muscle development and your ability to maintain muscle mass while cutting will be greatly diminished.
Food stopped being an emotional destination and became an energy source. Just like you train with weights and time on the bike, I train with intelligent nutrition.
It was a paradigm shift that took place in my mind. That said, it is still a struggle to keep on track day in, day out. I have no doubt in my mind that this is an addiction. Everyone has their comfort food, but this type of binging you describe transcends beyond mere eating for comfort. It is an addiction that you need to get in check.
Also, everyone in the thread, please see my signature and help me out.
P.S. This might not be the most fluid post I have ever written and likely contains maybe errors and jumps in reasoning and topic. Sorry.