Another option for diabetes are the SGLT-2 inhibitors like Jardiance. They work by making you pee out all the excess sugar. You won’t have the diarrhea issues, but you will be peeing a lot. (It’s basically a special diuretic, so it’s also really good for blood pressure.) Bonus: they’ve also gained approval for slowing the progression of diabetic nephropathy (kidney disease), so if that’s something you have any trouble with, it can help get it covered.
There’s a reason you have to get a pre-op physical exam for any non-emergent surgery. Figuring out if you’ll wake up from the anesthesia at all is part of the calculus that determines whether the benefits of the procedure outweigh the risks.