Hi there ~
You may have anxiety and depression
and insomnia is common to both these conditions. I advise you to consult a psychiatrist
. Micronutrient deficiency
will cause you to have significant weight loss
, hair loss and metallic taste
in your mouth. You need to see a nutritionist to help with the same. Also treating anxiety and depression or just insomnia may improve your condition. Please have an endocrinological evaluation if you feel like there may be more to the issue than just these above conditions. I hope this helped.
Take care and have a lovely day!