Is something wrong with me ???

So I recently got out of a serious relationship, we were doing long distance for a while and we got to be together for two months, just last week him and I got into an argument and he gave me the night to think if I still wanted to be in a long distance relationship once I got back home. I eventually decided I was willing to go through with it, and I'd tell him in the morning. I woke up the next morning to paragraphs, he broke up with me, he did do it politely though, he did say he was sorry and everything and I understand. But ever since something's been going on and I don't know why. I can't eat, I physically get sick when I see food, I try to shove some down my throat because I know I need to eat, but I'm just NOT hungry, and I can't sleep, I will go to sleep like now from 3-4 in the morning and wake up at 7 not because I have to but my body physically wakes itself up, I don't sleep peaceful through the night either, I always wake up in the middle of the night uncomfortable, I've never had these problems before. But I also do have a serious anxiety problem, I ONLY had these issues when I had terrible anxiety then I got it under control but now I'm feeling like this again. All I can do to function normal is smoke weed and as soon as I do that's when I'm able to eat properly, I even go to the gym when I'm high, and after I sleep so well. Besides that I have now energy to do anything. Is this normal?