This is true (Former submariner here). We store food in the torpedo room, engine room, fan rooms, etc...pretty much anywhere that won't impede dealing with casualty response.
It was hard to imagine living in there for months at a time. One person in my tour group almost started freaking out just in the ten minutes we were inside.