Yes, and it's called gastroparesis (GP). Find a gastroenterologist or a motility specialist and be seen. My stomach stopped functioning properly in November 2005. Suddenly, I couldn't eat anything. I woke in the morning, nauseous and vomiting (like morning sickness--except I KNEW I was not pregnant). I couldn't keep down milk, meat or anything. I tired of vomitting all the time and switched to an all liquid diet (yep, lost a lot of weight). When I strated re-introducing food, I found simple carbs the best as they are easier to digest than complex carbs, fat and fiber. Unfortunately, simple carbs can cause weight gain
Gastroparesis is thought to be idiopathic (unknown reason) in about 1/3 of the patients, 1/3 DIABETICS (due to neuropathy) and 1/3 post-surgical (the vagus nerve being damaged during abdominal surgery). It is because I'm part of a research study for GP that they discovered I have Lupus and Sjogren's Syndrome. I'd been complaining of dryness for years, body aches, fatigue (beyond narcolepsy that I was diagnosed with 10 years ago). I don't know if the GP "triggered" the AI stuff or vice versa, but they are finding that there is a link between AI issues in idiopathic patients and GP.
Because you're diabetic and your blood sugars are very difficult to maintain with a digestive system that's gone haywire, I would suggest you get in to see someone soon. It's not an eating disorder. It's something very real and with diabetes, you need to get it under control.
I had what I referred to as GP "flares" where I could eat by mouth and be fine and the tummy would start up again and I'd be back to liquids or praying to the porcelain gods (even before I knew what an AI flare was). It comes and goes. I can have a glass a milk one day and enjoy every drop. The next day it doesn't sit so well.
At my last appointment, they suggested I get the gastric pacemaker implanted (like a heart pacemaker). Although it's more successful in diabetics, idiopathics have shown some success (50/50). It's about the size of a pocket watch and can take up to one year to start seeing improvement. It doesn't help the motility of the stomach, just decrease the nausea and vomiting.
Sorry.....that's probably more information than anyone really wants to know about GP, but PLEASE understand it's nothing that you're doing on purpose and you really need to get it checked out. Let me know if I can help.