No it's not. In gambling you are guaranteed to lose longterm. In trading, if the market is bullish in the longrun, you will guaranteed make money (that is if risks are considered well).
You are only guaranteed to make a profit in trading if you are long or hoard in a constant upmarket. Trading is NOT hoarding. I.e buying gold and sticking it a drawer 100 years ago would have netted a nice profit. But that is not same as trading. Trading means buying and selling. In trading, your commissions are only 0.1-0.2-0.5%, and hence, you can easier make a profit. Gambling, the 'hold' percentage for sportsbooks are 4-7%, so there it's a lot less likely to make a profit long term, as you contend with a commission rate that is 20-30 times higher.
So, don't confuse hoarding for trading. Trading exchanges use same principles as a sportsbook, just smaller hold percentage. Active trading in a high volatile environment like the last few weeks are as much gambling as betting on the outcome of a football game.