Well it's probably not a good idea, right? I'm no stranger to surgery and granted, I know Endoscopy is kind of minor, but I just think that after any kind of anestesia (sp) you have to be very careful consuming CNS depressants. You've had enough of a medicine to completely numb your senses, in other words, pretty high doses. I am speaking for myself, that I would wait at least 24 hours.
If you drink to the point that you will be sick without, it's probably just as unhealthy to be recovering from surgery and be shaking and wretching about.