A couple of times. This last time, I swore that I was conscious during the procedure and tried explaining it to the doctor when I woke up. I told him that I was sort of dreaming, and my brain was converting pain/pressure into stuff happening in the dream.
They didn’t seem to believe me, and honestly I don’t think I do either. I was really out of it when I woke up.
Mine was also dental, so that checks out. My dream ended with a volcano for some reason.