This assumes you have the vertical height to stack them. In Europe the utility connection points are usually in a kitchen or utility room under a cupboard, with a counter top on top and more storage above that.
In Paris my dryer and washer were in the kitchen, but vertical. In Berlin, they were in a closet next to one of the bathrooms, also vertical. In both cases apartments, if that matters.
In Germany and Switzerland, washers and dryers are usually in the basement, otherwise in the bathroom. In the UK and Ireland, they're usually in the kitchen. Unsafe to generalize.
Outside of the US, (Latin america, europe, asia) it is more common to have an all in one usually in the kitchen. A lot of the foreign workers who stayed in corporate housing we had didn't even know what a dryer was or how to use it.