Yes, it has been a hot topic over the past few years, and for a good reason.
Do you get enough sun exposure? Vitamin D is crucial for melatonin production. You must check your blood levels for that vitamin.
If you want to learn about sleep, go check out Dr Kirk Parsley's work. He is on the forefront of sleep research. (link to his website below)