Eating disorder while pregnant

Has anyone dealt with an eating disorder while pregnant? :(
I developed a nasty habit of binging and purging in high school which ultimately turned into anorexia. I was overweight and got picked on ruthlessly and evening after losing 80 pounds I felt like my weight was the only thing I could control so I continued. 
When I got really bad my mom threatened to send me to a psych ward so I opted for therapy instead. I went to therapy and was under strict supervision of my parents and was able to overcome it. 
I've relapsed several times over the years but my husband has always helped me through. 
I'm pregnant with my third child and never experienced morning sickness with my other two. This time around I had horrendous morning sickness that lasted from week 6 to week 16...it's been two weeks since it passed but I've started using it as an excuse to continue to vomit up some of my meals. 
I don't want to be this way and I'm honestly scared senseless. I'm feeling myself spiral out of control and I'm ashamed. 
Has anyone else struggled like this? What did you do?