Eating raw foods is ineffective and carries a risk of disease. It is preferable to use them as ingredients for recipes. Please note that cooked food spoils more slowly. In some locations you can use refrigerators.
The effects of food and drink are temporary, and while you sleep, game time passes. For this reason, eating and drinking before bed is irrational. On the other hand, it is dangerous to fall asleep when the food or drink scale is close to zero.
Keep in mind that cooking, crafting, or building also takes time.