This is a great topic.
For me it varies, but definitely happens. Home game, yes, almost always.
Cash games in poker rooms I will drink a few early, loosen me (not my play, just my nerves) up a bit. When I play pool at the bar I dont shoot great until I have 2 beers in me, but if i drink to much i shoot horrible. Same logic for live cash games. 2 slow beers, then coffee. Repeat every so often with a meal in the middle. I finally learned to leave if i'm buzzed. One bad play will happen where i
bluff away a lot of chips. Players (including myself) target the drunk guy.
I used to go to bed at 7PM on Fridays, wake up at 2AM and go to the Sugar House (Philly) or the Hawaiian Gardens (socal) bright eyed with coffee to take down the weekend drunk players. It worked well.
Live tourneys, rarely. If it's a 2 day event and we are at hour 9-10 waiting to bag for the next day my nerves are generally shot. I will drink 1 beer to make it all go away...
Online, same logic with a bump up in drinking. Cash games more because I can turn them off at any time. Tourneys only at the end when my nerves are fried and I'm pacing back and forth.
Always for celebration
So the clear cut, very specific answer is: sometimes, maybe.....