The device you suggest would definitely be interesting, it’s just that the radio inside a smart switch takes up a lot of room, making it challenging to add other sensors.
Meanwhile, most people do this just by adding a separate humidity sensor.
If you check the quick browse lists in the community-created wiki, look down near the bottom of the page for Project Reports by Room and then check the list for bathroom projects there are a couple there that would have the same end result you’re looking for. (Take a look at “Bathroom Light Control” and “Smart Bathroom Fan,” for example.)