There's more to it than that.
Think of having an upstairs neighbor with a washing machine.
Think of the noise.
Then think what happens when his washing machine floods your apartment when his hose bursts after he forgot to turn the water off before he went off on vacation.
Or think of the lawsuits and dirty looks you'll get from your downstairs neighbors if you do that to them.
Then there's laundromats (aka, washaterias). Lovely places for spreading bedbugs these days.
I never received a complaint from any of my neighbors about my washing machine noise.
Then think what happens when his washing machine floods your apartment when his hose bursts after he forgot to turn the water off before he went off on vacation.
Huh?
I lived at the beach. We locals never went 'off on vacation', we lived in the perfect vacation spot, year round.
I never had to turn my water on and off to use the washer. It was hooked up under the kitchen sink. And I never had a hose burst ... why would it? Do you turn the water off to your washer when you go on vacation? Is it something I should do now that I live in Florida and do go on vacations?
What if the seals on your upstair neighbor's toilet tank fails? Water from the tank would pool on the floor and seep into your apartment. I guess people in apartments shouldn't have any plumbing! They should crap in chamber pots and dump them out the windows into the gutters, just like in the old days!