Yes, it can make sense if the speaker still works but sounds muffled.
A speaker cleaning sound makes the speaker vibrate. This movement can help loosen tiny droplets or moisture around the speaker grille. As a result, the sound may come out more clearly again.
After steam in the bathroom, this can be useful because there is often no large amount of water inside the phone. The problem may simply be moisture sitting close to the speaker area.
Still, a cleaning sound is not a repair tool. If water has gone deeper into the phone, or if the phone shows other problems after the shower, a sound will not be enough.
→ Clean your phone speaker onlineFor iPhones, there is also a separate page:
→ Clean your iPhone speaker