Insomnia and dreaminess are not necessarily related to vitamin deficiencies, but appropriate supplementation with the following vitamins may help with sleep.
Glutamate: acts mainly on the autonomic nervous system of the mesencephalon, regulating the autonomic nervous system, improving mental and emotional well-being and promoting sleep.
B complex vitamins (including B1, B6 and B12): facilitate the regulation of plant nerve dysfunction, inhibit cortical excitation and protect the efficacy of the nervous system.
Vitamin C: Vitamin C supplementation can effectively reduce irritability, increase energy and improve sleep quality.
Vitamin D: plays a role in improving people with insomnia by affecting brain areas associated with sleep-wake and regulating changes in sleep-wake-related neurotransmitters.