yes because the reports of women suffering infections due to eating a banana during labour are plentiful arent they!
How exactly is someone going to PREVENT you from taking a sandwich out of your bag and bloody eating it? They are hardly going to tie you up and section you are they
my advice, if you really are planning to attend a draconian hospital where they dont allow you to eat, simply stash some food in your bag and eat it anyway, if you get caught they MIGHT send you to the headmasters office but i bloody doubt it.
Also if you dont eat during labour to keep your strength up when your body tells you too, you are FAR more likely to need medical intervention, up to and including c-section
ITS YOUR BODY, YOU CALL THE SHOTS