With the level of humidity in bathrooms, this might not be a great idea. A change in both temperature and humidity causes wood to expand and contrast, which will consequently create gaps in your floor.