Tiredness and hunger

Hi Brooke!
I was just wondering if being tired and wanting to eat unhealthily is a thing. I’ve been working late the last couple days and although I’m a pretty healthy eater, I’ve been craving lots of sugar and fatty foods once I get home. I don’t usually work like that so I’m wondering if it’s correlated or not. Furthermore, I worked early this morning after working late last night and also craved the same types of food all day. I managed to still eat well but was wondering what my system might possibly be telling me.
Thanks for your insight!!