In general it is possible to directly stack a dryer and washing machine directly on top of each other. This only works with front loading models. However, it is advisable to use a fitting accessory to do so. This will prevent the machines from vibrating and falling off and also prevents damage to the bottom machine.