Hi there ~
Thank you for your question. Anxiety
and weight loss
can go hand in hand. If you want yourself back to a healthy weight, I recommend that you see a psychiatrist
that can prescribe medication for your anxiety. This can really help with the weight gain. Also sleep and daily routine has a lot to do with how you feel and weather you have a good appetite or not. So consulting a psychiatrist would give you a fair idea as to what you need in terms of medications. I hope this helps.
Take care and have a lovely day!