Unfortunately, yes. A rotten apple pie can definitely give you food poisoning or, at the very least, indigestion.