Yes, I lose sleep sometimes. And I also dream about quilts I should make. Having to get up and go to work when a true inspiration has come in my dreams is frustrating to say the least!
If I can't fall asleep easily usually get my mind off quilty things by making myself think in detail of something completely different, like how I would design and decorate my dream house, and where I would like to build it.
That gets my creative energies refocused and I can relax and sleep.