No because market 'gambling' actually impacts the outcome.
You can paint it as a bad thing but there are useful things that come out of this.
If someone wants to 'gamble' that grain prices will be higher in the future, they can buy futures. Where do these futures come from? Farmers today who want a fixed price for their future harvest.
And what about the 'gamblers' who bet that the demand for lithium is going to increase, and therefore invest in building a lithium mine?