EATING raw cake mixture, dough or batter could land you with a nasty bout of food poisoning, experts have warned. ... But don't worry, your cake and cookies are perfectly fine to eat once they are cooked as the cooking process kills the bacteria.