I went to bed with a leg of ham.
I ate about a quarter of it as I was getting to sleep, then occasionally i would munch on it in my sleep i guess. Every now and then I would wake up to go to the toilet or something and i would take another bite. And then of course when i woke up in the morning i ate the remainder of the ham as breakfast.
Very convenient.