It is an addiction. You are also losing which is another sign that it is an addiction. If you have stopped this habit, it will be good. If you do not stop, it may later has side effect on your health and which you will not like. I have this habit before but I have also stopped since few years ago. If you do not have time to gamble, do not gamble. If you want to gamble, gamble with little amount of money.
Being able to enjoy gambling in free time is the real success. People who gamble a lot don't even care about their free time they always want to gamble and while gambling they become addicted to gambling. And if they are addicted to gambling, it damages their health as well as financial loses. So these things should always be kept in mind while gambling so that they can realize their mistakes quickly. And it helps a lot to protect yourself from gambling addiction
Somehow, it's addiction to the mistake not gambling. It sounds weird that one experiences a mistake and doesn't want to stop it. What then pushes him to repeat it, other than some symptoms of addiction? I think Op should gamble during weekends when he's got free office time. From his last line, it seems he's rendering out some advice to gamblers not to behave this way. Hence, he could be feeling better from this attitude. Gambling is a game for relaxation. Gamblers must participate when they have enough time to focus, and not to bother over anything. Imagine rushing for office and staking a few games in a hurry. It'll only affect the gambler's performance. Hence, affecting his funds and productivity. However, there must be a free moment for everyone, regardless of the nature of their work.
But, if a gambler is too busy that he's not able to focus while gambling, I think he should give gambling a break, till his vacation time. Then, he'd enjoy gambling very well. Insisting on this behavior will affect his productivity in his place of work, thereby risking his future. Gambling is a very sensitive game, and players need to take it very seriously. Especially when it has to do with work and business. These things generate money for gambling and other financial responsibilities. Hence, a gambler who doesn't respect his source of income due to gambling isn't prepared to remain responsible for a long time.