I would say you're bulemic, but the high weight loss shows you're probably behaving like an anorexic, too. Smiley because I think you prove my own argument about all eating disorders usually being different symptoms of the same underlying disorder...
Although, tbh, I think there's a class of anorexic who are die-hard, they rarely get fat & they rarely get better. Thankfully it really doesn't sound like you're one of them. They probably do (IMHO) really have a terrible brain chemical imbalance/disorder.
I'm not an expert on eating disorders, but this is my experience...
In OA there's a kind of group culture of why people think that they're compulsive about food. I suppose that there are lots of commonalities but always individual reasons why people may go weird about food/eating, too.
I know with me, what probably really helped was I used to play a kind of game...
"Ok, I will eat that choclate bar, it's all mine, no one can take it way from me, but first... if I were eating this because I was unhappy, what would be the reason be?"
[You would simply say, I'm going to eat this but sick it back up, I will I will I will...]
Usually I was clueless why I was being compulsive so I had to guess. After a while I managed to persuade myself to wait for my chocolate until I tried to do one little thing about the thing that I was guessing might be what was bothering me. The weird thing was, often after I did that one little thing, I didn't want the chocolate so bad after all....It's like, I was learning how to to empower myself how to deal with life.
I know it sounds really simple, but it wasn't. Especially because usually what was upsetting me was my thinking, not anything real. Like if someone was rude to me in a shop, well that happened because I'm such a pathetic rubbish worthless human, didn't it? It took a long time to learn how to confront that kind of negative self-belief.
I don't know if any of that helps. Like I said, it's individual. But you can do it, honest you can. One step at a time. First step, find people who are willing to help you.