Yeah, insomnia due to drinking kept me drinking early on....just so I could fall asleep. Oh the wirey webs we entangle ourselves in with the "ism". It also kept me drinking when I wanted to stop at some point, again just trying to sleep.
It will go away eventually, you just have to ride this one to the beach. Paddle back out and get another one. Next one might be better. They will get better, just don't stop.