Is Your Remote Work "Illegal"?

Laws have not kept up with technology and as I listen to official encourage folks to “work from home”
I wondered If many were cognizant of “zoning” and state laws that made using your home as a base to provide for yourself and Family Illegal. In NY State it is illegal to sew clothing as a business from home. So while workers can take work home… doing so is illegal.

What other “jobs” are technically illegal and in which state?