I'm looking at an MDF floorboard for the bathroom. It should be possible to tile directly onto it according to the manufacturer.
It might be that MDF is so compact that it doesn't move due to moisture. But on the wall, I would probably still use OSB+Gips.