I do keep track of my expenditure in gambling and no I do not consider this as an investment, this is part of my therapy to cure my addiction, to look at it and regret what I spent.
If we look back on how much we lost in gambling it makes us regrets playing those money. For me I dont track my gambling journey and move on when I lose its because it will be hard to forget if I dwell in the past. Its not an investment but instead its a way to grow your money if you're lucky or an entertainment for some of us. Its fine to gamble as long as you're prepared for the consequences incase you became an addicted player.