Short answerUsually not on private property you control. On streets, sidewalks or public land you usually need a municipal permit. Fuel-burning units may have extra rules near water or in sensitive areas.
In more detail
Check with the municipality before placing a unit in a public right of way. Events and public works deployments often include trailers in their permits. Generator units need spill containment, and some sites require it.
Industry guides such as Permits and insurance considerations for municipalities and police cover common questions.