This works for me. Half an hour before I go to bed, I have a glass of wine or a shot of whisky while browsing the web or watching youtube/netflix/etc. Boom, it's lights out as soon as my head hits the pillow.
An added benefit is that 8 hours later, I have to pee so bad that it forces me to get out of bed. It's a sleeping aid and an alarm clock all in one.
If you get drunk, maybe. But having a glass of wine isn't going to affect your sleep. Also, this is about falling asleep quickly, not the quality of sleep. I fall asleep within seconds.