Consuming excessive amounts of food while on Ozempic can lead to side effects, such as nausea and stomach pain, as well as potential risks like weight gain and hyperglycemia.