Eating because you're bored is similar to the mindless eating we've all heard a lot about. If you don't believe me, just think about times when you were really busy for hours on end. When you finally looked up at the clock you noticed, "Geeze, I missed lunch!"! But because you were busy, you didn't suffer form torturous haunting thoughts of cookies or doughnuts. How did you survive?
When you're busy and focused time goes by seemingly fast. When you're trying to avoid eating unhealthy, if you're not focused, or have too much time on your hands, there's a good chance you'll start thinking about that cake someone left in the break room. Or the chips back in the lab. Or all the great snacks in the office kitchen. Yep, being bored can get you in trouble!!
If you're like most of us, you tend to perceive eating as an activity. You can chew. You get to taste stuff. And if the flavors are what you really like, you will probably derive some excitement from their taste! Yes, actual "brain" excitement!! For about 15 seconds. So, it doesn't matter whether you're at work or at home, it's a really good idea to stay busy and focused and to avoid boredom if you don't want to find yourself consuming calories out of boredom. There's an article listed below about actual research that supports this.
https://consumer.healthday.com/vitamins-and-nutrition-information-27/food-and-nutrition-news-316/craving-cookies-you-might-just-be-bored-710461.html
And you know what else? I once read that only boring people get bored. Hmmm?