Presuming you mean ending with more money than you started, gambling isn't either. Pay in vs pay out has no relation whatsoever to that except in passing.
> It is risk avoidance.
These are the same thing dressed in different names. There's only no making money on health insurance in the sense that you don't get to keep the money, but the only reason you're not "making" that money is because you have just incurred medical debt that the given money is obligated to cover per the terms. It's exactly the same as giving the money directly into your pocket on the condition that you use it immediately to clear your medical debt. You "made" all that money. You just also owe the full amount to someone else too. Consider term life insurance instead, where there is no extreme debt obligated to cover and your next of kin does just actually get a fat check.