Food quality has considerable importance not just in submarines but also in Naval and Merchant Marine vessels. My father, a Kings Point graduate and an officer in the USN and in the Merchant Marine, several times resolved crew morale and conduct issues by diplomatically getting the cook and kitchen crew to change how they prepared and served meals.
I saw stories like that, in my reading.
Napoleon wasn’t wrong - doesn’t matter if you’re marching or sailing.