For example, in the past year I've seen a guy selling tamales from his car trunk, someone selling candy apples from a cooler on the side of the road, one person making crab boils from their house, and a ton of people doing small batch type things on FB marketplace. Most of these would violate our local cottage laws, but I've seen police officers buying the tamales for example!
I have no doubt if someone got sick they could probably win a civil case of sorts, but I don't think I've seen or heard of any kind of attempt to shut down any of this via law.
The cop thing doesn’t really matter. They stay in their lane until they don’t. I had an uncle who was NYPD, they’d randomly (from their pov) get tasked with cracking down on random crap. Sometimes they’d give folks a heads up.
In NYC the landlords are rapacious, so it’s difficult to compete with Pedro’s Taco Truck.