You have to get a permit to drive, permit to build something on your property
Yes, but at least in the U.S., speech is protected in the constitution, and driving and building a deck are not. It would be considered a prior restraint on speech, which is almost never allowed. Why not just impose a lifetime ban on door-to-door cavassing upon those convicted of sexual assault? Wouldn't that have the desired effect without making every innocent person get a license?