Replying to @fishPointerit is not directly illegal, but unless you own an actual house (not appartment!) you need a lot of permits (landlord, neighbours, sometimes state). Now europeans will tell you requiring permits is not the same as illegal, but practically it has thr same result.