The technical name is Auto Brewery Disease and is quite rare.  While rare, there is a recent case hightlighted below.
Evidence of experiences like Hess’s can be traced back to the 1970s, when researchers in Japan described a mysterious condition in patients with chronic yeast infections. In papers published at the time, the researchers described how all of these patients had an abnormal liver enzyme, which meant that they weren’t great at getting rid of alcohol from the body.
Everyone has a little bit of yeast in their guts, and when it interacts with carbohydrates and sugar from our food, it produces tiny amounts of alcohol. In the case of the Japanese patients, the extra yeast from the infection and the fact they ate lots of carbohydrate-rich rice, combined with the abnormal liver enzyme, meant they couldn’t process the alcohol quick enough.
Find out more at:>