I don't think investing in gambling is a bad thing. The most important thing to do before investing is to do your research well and don't just jump into making decisions based on your emotions, you have to the claim and relaxed while making decisions
Investing your hard earned money in gambling is the worst thing you can do to yourself because as far as I'm concerned, it's just like putting all of your money in a bag and dump it into a lagoon. You will lose the money and never get most of it back.