Hi Jsmith,
I'm sure this isn't new information, but you're using food as a coping mechanism. It has worked for you in th past, to manage traumatic, abusive situations. However, now it's not so helpful. Some people self harm. Some people use drugs or alcohol, over spend money, hoard belongings or animals, smoke, develop OCD, become sex addicts, adrenaline junkies, etc. It all adds up to the same thing: coping. Dulling a deep pain.
The only way to get rid of a behavior is to replace the behavior. This can be accomplished through Dialectical Behavior Therapy (works best for me) or Cognitive Behavior Therapy. Be sure to shop around for a therapist! For every truly good one, there are five bad ones! Seriously- ime a bad therapist can absolutely make things much worse. So be very cautious.
A short term medication might help. Some meds help to lesson impulsive behavior and some are known for the side effect of weight loss. Meds aren't for everyone, and like a bad therapist, has the potential to make things way more complicated.
Best of luck! My suggestion is to find outside professional help.