So no, there is a rebuilding process, but the kind of damage done by acidic substances (including the excretions of bacteria) can sometimes be reversed to some extent. The trend is usually erosion however, and moderate intake of something like seltzer or soda is at least an order of magnitude less than straight water. In addition, while water toxicity is a thing, you’d have to overcome a pretty strong urge to vomit. Short of that, water is doing you no harm, and will never contribute to the erosion of your dental enamel.
A number of toothpaste brands in Japan claims to remineralise teeth with a hydroxyapatite based formula but the results are yet to be confirmed.
Dentists have been using zinc oxide gels and other material to seal exposed dentin but the results are mixed and eventually the filling will fail. Once cavities reach a certain size not much can be done about it.