The laws in the U.S. vary by municipality.

Here, you can sell certain items made at home at certain places only. Like specific types of baked goods at farmer's markets is ok, but you can't sell the same thing to people (the kind of thing we're talking about) unless you're operating out of a commercial kitchen. No idea how the specifics came to be specifics.

There are also here, though, a few commercial kitchens that you can rent space in on whatever basis you need (hourly, daily, whatever), for not much. They're often communal (like workspace rental places but for cooking) and support tons of small businesses who go in, cook their stuff, and go on their way with their goods. It's a good system. It not only helps people meet the requirements, but it's more space and better, large-scale equipment than most people have at home, so it saves time and stress.