Those actions which impact very adversely upon others are understandably illegal - murder, theft, exploitation of minors etc.
There are those actions whose principal impact is upon those who indulge - obesity, smoking, alcohol, gambling etc. "Principally" as drink, smoking etc can impact on...