Hi.
I had gone through your query.
You have irregular sleep wake cycle.
Sleep hygiene method can help to restore normal sleep pattern.
Certain routines and lifestyle modification will help you like
Fix sleep schedule and stick on it
No day time sleep
Exercise that makes you fatigue
Stress free activities and meditations
Avoid alcohol and smoking
Avoid heavy meal in dinner
Avoid tea cofffee soft drink at night
Use bed when you feel sleepy
Read upto when you will sleepy
No talking or use mobile in bed
Calm and cool bed room
All of this will help you to restore good sleep.
Go for psychological screening because psychological stress also can lead to sleep problem.so treatment of it will resolve it.
Doxylamine can not help much. Benzodaizapine or zolpidam are useful for
insomnia but take doctors advise before taking any medicines.
I hope i have answered your query.
Thank you.