^
If an employee spends work time on personal activities or entertainment, the employer will obviously not like it. And it makes no difference whether you are gambling, scrolling through your favorite social network or something else. In your free time you can do whatever you want, but at work you just have to spend all your time on work.
Whether to follow it or not everyone decides for himself, but we all know how nice it is to do our own things.
Of course the boss will take issue with this because they are only allowed to do work at that time and absolutely no other activities at the same time, they are paid by their boss and that means they have responsibilities that they really need to do. However, it is careless or even stupid to do something else in the middle of an activity that is very important to your life, work is something that earns you a living and the salary you get from work is something that has been paying for all your needs.
Besides, I think there is enough time for you to gamble, I understand that you can engage in online gambling anytime and anywhere but on the other hand you also have to have time management where you have to be able to divide the time between time to work and time to do other things, or that means you have to be able to divide things according to their portions.