I use a CPAP and it helps me by not allowing me to awaken from the snoring. I use earplugs to block DH's snoring

. But sometimes when I lie down I wake up...I sometimes use the gratitude list. I go over the day and tell myself 5 things that I am grateful for...it puts me in a more positive frame of mind. Doing a body scan to loosen all the muscle groups helps me as well.
But sometimes I just can't sleep. And DH loves me so much he hates me to leave the bed (ain't that sweet?)...so I lie there and just breathe...
Narcotics don't help me. And almost every night I am awakened by spasticity. My neuro told me to set the alarm for an hour before I am usually awakened by spasms and take a zanaflex, but I don't want to wake myself up if I'm sleeping well. So I just go with the flow. If pain wakes me up I take my med and wait for it to work.
Try taking benadryl instead of the narcotics. It sometimes helps me...good luck