There is now good evidence that parts of the brain may be awake while other parts are asleep. Sleepwalking is a premiere example: The portion of the brain capable of generating complex behaviors is awake while those portions which normally monitor our activity and lay down memory of our behaviors are asleep.
We don't know from this study whether diet is influencing sleep or sleep is influencing food choice, or both. But the evidence is abundant that these two pillars of health -- sleep and diet -- affect each other in a number of ways. We've seen a great deal of research that diet and weight control are strongly influenced by sleep, and that too little sleep can make eating healthfully more challenging.