Never had a problem to the same extremes, but I think I can identify with the urge to eat for eating's sake. (Rather than due to hunger.) And the negative feelings which follow. (As it will normally be something crappy - at least in the end, even if I start off with something healthy!)
Fortunately for me, I have never been very overweight or underweight and was never tempted to purge in any way. Cos I think if i had found I could purge (like making as if it never happened) it might have become a habit and a worse problem.
I am now (just turned 60) a good weight and I keep it stable. But find I need to restrict my eating to once a day to prevent over-consuming as I am not that physically active so I don't need many calories per day. (And prefer to eat them all at once! So I can have what I fancy.)
I do this by only eating in the evening.
Bfast and lunch I just skip. Unless I feel hungry. Cos it's easier to just not start to eat than to just eat a small portion.
Tho I drink coffee or tea all day thru -with milk. (No sugar.)
I eat in the evenings, rather than at lunchtime, as I don't like to go to bed feeling hungry.
Luckily, I never wake up feeling hungry and seldom feel hungry before my evening meal time. So it's not a hardship for me to eat the way i do.
Agree with you than eating addiction can be like drug/alcohol addiction and most ppl are not at all under-weight yet ppl are forever pushing food at one another and suggestion to meet over food. Yet would never push an alcoholic to "go on just have one" ...
So I have had to learn how to say "no thanks" quite firmly (to offers of food when I am not hungry or it's not what I need/want to eat) and to not worry if I am being (a bit)rude.
Before I would take some food to be polite. (But why do we need to be always eating?)
I now explain (if I really need to) that I get up late and usually only eat once in the late evening. And that we all eat too much and too often!
Going back to the urges you have to eat, try to find an absorbing hobby or distraction activity as I am sure we eat more when we are bored or in situations we associate with food eg watching TV?
For instance, I find I only tend to eat at home so the longer I stay out the less tempted I will be to eat! (I will happily wait till I get home even if I am quite hungry.)
Also I find being mentally absorbed helps eg when reading or doing a tough puzzle of some sort?
Or being active? Eg going for a walk/run or just dancing to some loud music.
Agree than once in a good mood (ie good weight, feeling happy) one can more easily dodge the urge to eat rubbish. So the trick is to not let a mini-binge throw you off course. (Tho it is annoying when the self-control button isn't working!)
You know what you have to do which is half he battle. So ignore any "social occasion" eating invitations (or 'commands') if they are unhelpful to your eating plan. And good luck!