Hello and hope you are doing well.
You seem to have chronic insomnia. Inability to sleep could be problems with initiating sleep or maintaining sleep is called insomnia. Problems with breathing (Obstructive sleep apnea), certain medications, restless leg movements and sleep walking/talking could contribute to insomnia.
The first step would be to rule the causes for insomnia like sleep disorders. Next it is treated with both medical and non medical therapy. Medical (sedatives) are given in the temporary initial phase, this is combined with non medical measures like sleep hygiene, relaxation therapy, stimulus control, and sleep restriction which are referred to as cognitive behavioral therapies. As the non medical measures help to restore your sleep rhythm, the sedatives are withdrawn.
I would advise you to consult a sleep specialist who would assess with first a sleep questionnaire, and then he may ask for a polysomnogram, which is an overnight sleep study as this helps to detect sleep disorders.
Hope this helped and do keep us posted.
You might have sleep apnea, or be deficient in Iodine or magnesium. Another possibility is that your adrenals are producing too much cortisol. Talk this over with your doctor. Going short on sleep can cause anxiety - not necessarily the other way around. You may have a physical rather than an emotional problem.