Losing weight while pregnant

no

Okay a little back story , I suffer from bulimia. I currently am not active in the addiction but gaining weight still freaks me out bad. I'm 22wks preggo and have gained 9 pounds. This is my second baby. I just had my son a yr ago. I had 10lbs to lose before I was at my prepreggo weight and then BOOM ! I'm pregnant yet again ! I am very upset about gaining weight . I feel horrible. The first pregnancy I dealt w a lot better but this one is really hard mentally. I am very unhappy and depressed.

So my question is is that too much weight to gain and can I "diet" and if so like what should I eat? Bc I'm about to starve myself fr. I legit feel like I'm gonna relapse. I feel the fat on me. I can't stand to have sex , look in the mirror I just am miserable :( please help !!!!!! I weigh 164