Eating disorders while pregnant

Does anyone struggle with eating disorders while pregnant?? With my first son I was heavily bulimic and stopped immediately. This time around I’ve developed some anorexic habits and trying to cope with weight gain. I was diagnosed with bulimia nervosa and body dismorphia at a young age. I’m 19, obviously my children’s health comes first and I’d never intentionally hurt them, but I tend to not eat without thinking and hope the number on the scale goes down. Anyone deal with this?