It is not wise.
Gas, bloating pressure etc is expected. “Right after
surgery it may seem that you have a lot of gas almost all the time. Most abdominal surgery is followed by this uncomfortable, embarrassing, yet harmless symptom. As the tissue swelling goes down, you will have less gas. But certain foods, such as eggs, cabbage, broccoli, onions, fish, beans, milk, cheese, and alcohol may cause gas.
Eating regularly will help prevent gas. Skipping meals to avoid gas or output is not smart.