You sound like your cortisol and adrenaline is chronically high. A low carbohydrate diet is often a major contributing factor to that problem. (But there are other potential causes.)
Dietary nitrates may contribute to insomnia by inducing mania:
• Khambadkone, Seva G., et al. Nitrated meat products are associated with mania in humans and altered behavior and brain gene expression in rats. Molecular psychiatry (2018): 1.
☞ https://doi.org/10.1038/s41380-018-0105-6
>Mania is a serious neuropsychiatric condition associated with significant morbidity and mortality. Previous studies have suggested that environmental exposures can contribute to mania pathogenesis. We measured dietary exposures in a cohort of individuals with mania and other psychiatric disorders as well as in control individuals without a psychiatric disorder. We found that a history of eating nitrated dry cured meat but not other meat or fish products was strongly and independently associated with current mania (adjusted odds ratio 3.49, 95% confidence interval (CI) 2.24-5.45, p < 8.97 × 10-8). Lower odds of association were found between eating nitrated dry cured meat and other psychiatric disorders. We further found that the feeding of meat preparations with added nitrate to rats resulted in hyperactivity reminiscent of human mania, alterations in brain pathways that have been implicated in human bipolar disorder, and changes in intestinal microbiota.
A riboflavin deficiency may contribute to irregular circadian rhythm:
• Miyamoto, Yasuhide, and Aziz Sancar. Vitamin B2-based blue-light photoreceptors in the retinohypothalamic tract as the photoactive pigments for setting the circadian clock in mammals. Proceedings of the National Academy of Sciences 95.11 (1998): 6097-6102.
☞ https://doi.org/10.1073/pnas.95.11.6097
And a diet high in linoleic acid may speed up the destruction of riboflavin and promote its deficiency:
• Cardoso, Daniel R., et al. Riboflavin-photosensitized oxidation is enhanced by conjugation in unsaturated lipids. Journal of agricultural and food chemistry 61.9 (2013): 2268-2275.
☞ https://doi.org/10.1021/jf305280x