Sure. Emotions and stress - all those things get factored into it.
Everybody has times of emotional need.
I know from watching myself. When I get depressed and
overworked, I lose sleep because I’m trying to get work done, or
something has happened that I feel bad about. When I get into
these situations, I definitely end up simply eating more than I
would have normally, partly to try and make myself feel better
and partly because I’m so tired, that my body is craving more
energy (food).
The way to avoid allowing yourself to be controlled by emotional
eating is knowing what to eat, how much to eat, what is healthy
and maintaining enough down time and sleep. These all factor
into just having a healthy lifestyle.