Yes, investing on these good casino sites will be better than gambling but should know that these type of investments are high risk and high reward investments. So there are chance you may lose your investment, if any one win big amount from that casino so it is better to diversify your investments to reduce your loses. Also you should find few good sites to diversify, not in any new sites.
It takes courage in investing online casinos especially in this crypto world where we are anonymous. So if the gambling site where you invested your funds close, you cannot reach them anymore, so that's the risk.
There are many trusted casino that you can invest here in to forum and they do have some investment for user who joined them just dont invest when you are dealing with casino outside of this forum.