as you said, even though gambling is fun, it will definitely require high concentration and tension which will cause high emotional tension and will definitely affect one's work, such as unfinished work or feelings of regret for losing and being lazy to complete work.
I just feel a little confused why there are still people who gamble at work when work is the main thing that is prioritized and gambling should be used in free time or if you really have good self control you can access gambling at work but only when you have time It's break time so you can use it to entertain yourself.
but it's still not recommended and don't be reckless in doing this because there are situations that sometimes make the situation very bad and you still have the idea of prioritizing work over gambling.
When we are still at work, we should stay focused on work and not use work time to do other things that have nothing to do with work. We have to know where we are to work better and show the company that we intend to work well.