Yes, of course. There is no problem with cooking in the morning and eating at night. But it is noticeable in which season you are doing this. If it is winter, it is usually enough to leave it. In winter, food cooked in the morning can be easily reheated at night.
However, in summer I would recommend storing it in the fridge.