It seems like a lot of people here use doctor-prescribed medicine to help fight the initial insomnia and anxiety. I myself am going to detox at a rehab because, yeah - the lying in bed at night is the worst and I know longer trust myself not to drink because of it. I've tried to quit a couple of times before and that's what got me.
Hang in there. You're not alone.