In the days before chlorine those baths must have been Petri dishes!
That must have been a concern, for sure, "pee soup", typhus, but hey, whatever doesn't kill you makes you stronger. The Empire lasted from the Roman conquest of Ostia to the Fall of Constantinople. Mary Beard discusses bath hygiene in one of her Roman vids (look on YT).