I've also thought of this. Being put under general anaesthesia was so nice. The anaesthesist just said "Have a nice dream" and I was gone. However, as people pointed out, they monitor you very closely and if you took any medication, they'll know long before the surgeon makes the first cut.