Also get some bloodwork done. Ferritin, Vitamin D, magnesium, B12
Check your vitamin D levels with 25OH vitamin D blood test. Low D and low magnesium cause cause insomnia, anxiety, depression, fatigue, dizziness, body pain, headaches, etc.
You want you D levels above 50ng/mL. You can supplement with D3 and magnesium
Have you taken any drugs lately? Have you checked you thyroid function? Is there a chance that this could be driven by your emotion?