It’s deletorious to your health to be obese, so at the very least it is definitely a health hazard to the person. Making it illegal would be highly problematic though. How would you enforce the law? Would an obese person be forced by the state to go to a correctional facility? What kind of person would be classified obese?
I came here to make this joke but with the 68000, but you beat me to it, so here’s to the atmega328.