I used to be an insomniac, but it was more due to a combo of bipolar disorder and pain problems (when you dislocate your shoulders and hips when you sleep, you tend not to sleep well!)
I go to a rheumatologist who is very interested in sleep patterns (and bloodwork, he loves blood tests). We did many, many different drugs and drug combinations before hitting my magic cocktail - 2 Ultram (pain killer), 2 Tramadol (muslce relaxer) and one Mirapex (Restless Leg Syndrome med) at night. In the morning I take 100mg of Zoloft (SSRI/antidepressant but good for helping pain management). I also take Prilosec in the morning due to GERD fun and a pretty dysfunctional valve to my stomach (aka if I cough, I throw up. Awesome).
The mix helps me sleep well and deeply for about 8 hours, and I wake up refreshed and ready to rock the day. I have minimal pain at night (even with dislocations), and tolerable pain levels during the day, which is mucho better than it was.
Since my surgery however, I'm all out of whack again. My nighttime mix was traded for a cocktail of morphine, dilaudid, toradol, and percocet, though I did get my Zoloft in the moring. I was on compazine for nausea. All this jacked me up, and though I'm weaned pretty much off everything (they sent me home with percocet), I'm still going to bed at 10 or 11pm and up at 2 or 3am. I just lay in bed and "daydream" or cuddle up to DH until it's a reasonable time to get up like 5:30am.
I can't wait til all the nasty is out of my system, and I can get back to my normal, healthy sleep pattern. I will probably be on my cocktail forever, but I'm ok with that, as I will always have the joint problems that cause the pain anyway.