The externalitati.
https://www.iWouldDo.it lets you do just that, in an efficient way.
But they do know what negative externalities are, at least.
Taxes are only bad if a government extracts them at gunpoint. If a non-governmental force extracts them at... well, the gun is still there, I suppose, but hidden behind a layer of "If you don't pay, we sue, and if you don't pay after the lawsuit, the guns come out"... they're morally A-OK.
It's one of those things that might sometimes work okay on paper, but the trouble is that you can't actually try it out in practice due to the difficulty of assembling into a coherent community, a critical mass of people with the correct sort of deranged insanity to want to try it in the first place.
Solution? Instead of allowing building managers/owners to allow/disallow short term leases by their lessees as determined by the externality-including market value of such a policy, let's just ban it altogether. The principle of the least-elegant solution.
This "thing", is exactly why so many municipalities have explicit laws on the books regulating and taxing hotels.
NYC might be an exception as it seems like subletting is a big thing there.
...and? If this amounts to dirty looks in the shared hallway or similar, it's pointless.
In fact, it's worse than pointless: The caring, socially-responsible people who don't want to have assholes will be hurt worst, and will be motivated to leave the business after a few bad apples, whereas the people who honestly don't give two shits until the police show up will carry on regardless, and take on more assholes as long as their checks don't bounce.
Social approbation only works well in tight-knit societies where someone not liking you can have ripple effects through everything you do. "The Scarlet Letter" is an example, both of how it works and how it is honestly a bad way to run a society.
You need laws to put teeth in the "don't do that" parts of the social contract, and you need to enforce those laws. Lawsuits can work, but they're messy and expensive and generally so draining for both sides that winning one is something of an academic point. That's one reason we as a society attempt to use lawsuits as a method of last resort, and create regulations and regulatory bodies which can enforce punishments without sending an injured party through the massive financial and personal ruin of bringing suit against someone.
The owner of my apartment building has set up an illegal air bnb in an empty apartment(I'm going to guess this is a rent controlled or stabilized apartment "under renovations"). Usually it isn't an issue, besides for frequently seeing groups of strangers come in and out of the building. Last week though, a lovely fellow decided that, after drinking what must be approximately 2 liters of wine, he was going to pick my door to puke outside of(5 floors below his air bnb) at 2AM. He then started crashing into the wall separating my bedroom and the hallway a number of times. Then he went down into the lobby, puked some more right in front of the door, then peed in the stairwell. I think it's pretty straight forward to see why tenants don't want air bnb rentals in their residences.