Insomnia Support Group
Insomnia is a symptom, rather than a disease, and is characterized by inadequate quantity or quality of sleep. People with insomnia complain of difficulty falling or staying asleep, which results in significant impairment of daytime functioning. Insomnia is categorized as transient (shorter than one week), short-term (one to three weeks) or chronic (longer than three...

Pain can be a potent cause of insomnia, so I think you're doing the right thing by working with your doc. You can also check out CBT sleep training methods, as that might also help. They are substance-free.
Might be a good idea also to have a talk with your wife about awakening you. She hopefully will be understanding.