I do, and find it kind of fun, it's great to avoid burnout by making your project less 'intense' because when you are slighly drunk you usually take routes that are not perfect but works which makes the project move at a steady pace. Perfection is for my sober self, who was years of practice in his craft, when I'm buzzed I am just a average programmer that wants things to work. The compiler does not allow me to drink too much too so there's that.
The coolest moments are when you get into the flow, and forget to drink, and you sober up. Those are exceptionally productive moments.