I've never gambled, but from what I've seen, gambling seems quite risky precisely because everything depends on luck. Unlike trading, where you can study and better control how much you risk, in gambling the outcome seems completely unpredictable. Therefore, I think betting everything hoping to win more can be quite dangerous.
But is there any way to play more safely, even knowing the risk is high?
Their is no two ways that you can do without the risk in gambling. Gambling is always risky and you can only control the risk in gambling by gambling with the amount that you can afford to lose and another way you can also reduce the risk in gambling is just for to have a limit in gambling and don't try to exceed your limits in gambling.
Trading had it own risk but the risk in trading is much better than what we have in gambling. Risk in trading is always massive when people go into trading and not having the knowledge which is required to trade. Trading risk can be reduced by understanding it.