The government can do all manner of proscriptions for your residence. For instance, no, you cannot run a brothel from your house. You cannot turn it into a bouncy house park. And you cannot have short-term rentals in an area that the community has decided to use for permanent housing.
It's called "zoning", and collectively we've agreed to the allowed uses of our property. You live in a community of others, and your property lines do not define "The Independent Republic of JJordan", so yeah, the government does have some authority over your use of your property. You might not like it, but you'll be going against the flow. Because, personally, I'd rather not have the house next to me used for short-term rentals "shared" with those that don't give two shits about the community they'll be leaving on Sunday afternoon.
You also don't get to just decide not to follow the rules after the fact. One moved to a community, and directly or indirectly agreed to abide by the community standards. If one decides that's just not really working for them anymore, well, move to a community that has standards more to your liking. There do exist places that will have no problem with you throwing all the loud parties you like, and renting to college students on spring break. Those places are not in SV, however, so good luck in your search for remote work.