I'd be astonished if that was intentional. I'd consider it a crime if it were, not just a civil matter. Patients pre-op are under considerable stress, have a variety of cultural and personal coping strategies, and we become tolerant of disappointing interactions, at least those who are successful.Not me, but a friend mouthed off to the gentleman administering the anesthesia prior to his hernia operation and woke up strapped down on the table to hear "let's begin" and was essentially awake for the whole operation.
Being awake during surgery can happen, but a number of errors have to be made and warning signs ignored. Paralytics can make it impossible for a patient to signal distress, and after induction & intubation a provider could fail to properly set the inhaled gases which maintain anesthesia during a case. But typically vital signs reveal a problem well before consciousness occurs. There are anti-hypertensive drugs which can blunt such reflexes, but man that's a horrible story and always a prime concern of providers.
It is interesting how the brain "fills in" gaps in time when under the influence of anesthetic agents... it is not uncommon for patients to be sedated and tolerating procedures well, even to the point of needing assistance maintaining their airway, to have some limited arousal at the end of the procedure and honestly interpret the experience as having been "awake the entire time."
There are production pressures which encourage providers to stop giving meds a few minutes before the end of the case, so that they are waking up just as the procedure finishes. That way a colonoscopy patient is opening their eyes a minute after the scope is out, for example, and not five minutes after they've arrived in the recovery area. Providers get really good at it, but there is variability in humans, so its an inexact science.