Every good Psychiatrist will ask you about your sleeping pattern on the first visit.
I haven't been able to sleep through the night for decades.
The number one cause if not depressed, anxious, or blew a mental gasket (sorry about the nomenclature. Psychiatry is very much an art. I have a hard time with their diagnoses.); is alcohol use. Too much. You go to sleep, but wake up three hours later.