It's really not a similar situation. Refusing to social distance is illegal as it puts other people's lives in danger but working for a dirty restaurant is not and is not analogous this is in any way.
To make his analogy more accurate, it would be the restaurant gets shutdown for being too dirty, at which point the owners continue to open and the workers continue making food there.
Smoking and obesity put other people's lives in danger as well, whether it be due to second hand smoke or being a burden on the healthcare system and diverting resources.
There have been countless discussions already about at risk groups and potential spread to them, QALY's, etc. What I want to get at is "social distancing" is arbitrary (6 feet?) and should not be forced. (I am unsure of your statement "Refusing to social distance is illegal...")