Seems I clearly recall UAL's FOM specifically forbidding flight crew members from ingesting food from passengers back around late sixties/early seventies.
(Then again, I recall munching on some cookies presented to the cockpit crew by "Dear Abby" immediately prior to that time, too.) LOL