If it can be proven that the reason you woke up during surgery was due to a medical error on behalf of your anesthesiologist or their equipment, then yes, you have grounds to sue and receive financial compensation.