Most of the time I put my insomnia to work for me. Catch up on alone time :D, chat with friends in other time zones, play, study, 24hr gym all to me'self, cook & freeze for days, all kinds of stuff when the city was blissfully passed out and quiet. I used to look forward to my insomnia runs, because I could get so much more done (ahem. Including that alone time worth of seasons of TV marathoned, xBox, books, art... Aka I'm doing nothing and grinning like a cat about it). The only real downside was my ex all pissed off and guilt tripping about it.
((Still hate that, though. The guilt trips. The feeling bad for doing the best I could, with what I had. Yes. I'm 'still' up. If no one ever glares, looks down their nose, and shouts at me for not being able to sleep, it will be too soon. Ditto gloating about how lazy I am for 'sleeping the day away' or wishing they could sleep until noon or whatever. Um. Those sweat drenched 3-4 hours are all I get. For probably the next 2 days. Condescending motherf*ckers.))
When I was single/childless I just rolled with it. Realized that a 36 or 72 schedule just worked better for me, and made that work. Having kids and daily style work meant getting a bit creative about when I slept. Sometimes I'd split it up into a couple naps a day. Other times, once my son was in school I could sleep either nights or while he was in school... So that meant I could go back to the 36hr day thing, again. Also having backups. Both short term meds, if things were getting into sleep dep ranges, and a short list of baby sitters. Or making sure I was beat up from the street up if I knew, schedule wise, I'd need to sleep X night to be up early on Y morning for Z activity. (Read : falling down exhausted.)
Still have a love/hate relationship with sleep, though.
Seems like it's always feast or famine.