It won't harm it, but I will warn you that not eating can actually cause more gas. Those digestive enzymes will keep working whether you eat or not. If there's nothing solid to work on, excess gas occurs, therefore not eating will probably be counterproductive in this case.
I have had an ileostomy for 33 years now due to UC.
Moderator of the Ostomy Forum
I'm not a complete idiot - some parts of me are missing!