I feel it would be more beneficial to simply mandate some level of treatment options than to outright ban something. Like smokers must enroll in a nicotine addiction program for example. Esp depending how broadly you define “unhealthy habits”, bc the people who have the most “unhealthy habits” are poor people, who adopt them out of necessity, who would be the most in need of public healthcare