Good question!
Yes, they did. To quote Friedrichs’ Early Modern City:
“…This was especially the case in the rapidly expanding metropolitan centers with their sprawling outer districts – the suburbs and faubourgs outside the walls where work and residence patterns were particularly hard to control. Unlicensed artisans and unskilled workers abounded in these outer neighbourhoods, where overlarge parishes and underdeveloped institutions made it difficult to keep track of exactly who lived there.”
This was, however, a somewhat risky strategy, because (for the most part) you still had to get your goods into the city, which meant coming under the legal jurisdiction of the city once again. Not only would imported goods usually be taxed, but trading in unlicensed goods could lead to legal penalties.