Why are you not convinced? That's precisely the logic used by a sugar tax, and is the same logic used in tobacco taxes.
In countries where there's public healthcare, the burden of it on the public purse is a very real consideration where trade-offs must be made in varying ways. One of these ways is to tax things that contribute to higher loads on the spending of those public policies. Australia's tobacco laws are a key example of this.
Unhealthy lifestyle = cumulative effects. You don't get a heart attack from one big mac but you can need decades of life support from one outing on a motorbike without helmet.
To make it worse, people who don't wear a helmet aren't the best riders either and thus more likely to be involved in an accident.
I'm not convinced. By that logic, we should also ban unhealthy foods, limit how many calories each person can eat, and mandate them to exercise for n hours per week. I'm sure that some of those will have a higher ROI than putting on helmets.
>In death (lack of taxes)
so we should ban emigration then? it has the exact same effects from a tax perspective.