You need to sort yourself out at the root cause instead of masking it with drugs. It's good that you're getting help because depression is a hard slope to climb back from. The first step is realizing it, this way you can actually be pro-active and improve your life. No one can do it for you, they can only guide you in the right direction.
I mean, the doctors are trained and will tell you exactly what you can do. It seems like you don't want to be anorexic so try to set a timer on your phone or something 3 times a day for breakfast, lunch and dinner. Force yourself to eat and it'll get easier. One of my ex-girlfriends was anorexic and together we got her out of it. It is possible when you completely focus on it.
I mean, the doctors are trained and will tell you exactly what you can do. It seems like you don't want to be anorexic so try to set a timer on your phone or something 3 times a day for breakfast, lunch and dinner. Force yourself to eat and it'll get easier. One of my ex-girlfriends was anorexic and together we got her out of it. It is possible when you completely focus on it.