The noise, odors, and visuals are a matter of personal lifestyles.
The potential for flooding however, MUST be addressed to avoid serious damage and inconvenience.
These days, I believe it is code that a drip pan (available at big box stores) must be installed under the washer, and an appropriate drain pipe be installed to move the drip/flood water to the DWV system, or outside. Even the braided SS sheaths on today’s supply lines can burst. They make shut off valves for supply lines that can sense a sudden change in pressure (caused by a burst supply line) and shut off the water to minimize damage.
For planning consideration, don’t forget that the dryer exhaust needs to be exhausted to the outdoors, either through a sidewall or a direct connection to a roof vent. Venting directly into the attic is no longer permitted. Some folks like to duct their dryer into the home for the heat and moisture; I think there are other threads on that topic.
Building codes vary per local regulations, and my advice is based on the codes I’m familiar with in western Washington.