You can, but I think you'd need to determine that it's the meds that's causing the pain and nausea first.
I'd suggest going to a different doctor, and getting evaluated before thinking about suing the doctor.
Make sure you don't have pancreatitis - https://www.healthline.com/health/diabetes-and-pancreas
Let us know what happens.
I spoke with a Lawyer recently about suing for malpractice and it is very hard to sue for this. You either have to have died or have permanent damage from what your doctor did
"...either have to have died or have permanent damage"
That is exactly correct. That's not a matter of the law, but the economic practicalities of the thing. Most medmal sites will outright say, "permanent and catastrophic" injury.
Paying doctors to testify costs a gigantic fortune. Doctors even have to be paid before any trial, just for you to qualify to file a case. Because there have been so many no-merit cases filed over the many years, most courts now require a 'certificate of merit' to file (unless you file yourself, pro se).
Plus, age matters and future income. They hire an 'economist' to compute how much the victim would have earned, but now won't. It's pretty mercenary.
Not all medical injuries are medmal though. A doc must have violated the 'standard of care'.
Sometimes, if a particular doc has a history of losing similar medmal cases, lawyers will indeed file on a case that is not a big money winner, if they think that the doc's insurance will settle easily. That's probably rare, and the sum would not be very large.