Yes, river water is cleaned naturally by a process that is similar to wastewater treatment plant.
When muddy water, flows through grass or weeds on its way to a stream, mud and solid particles get filtered out. At the bottom of a lake or stream, microorganism brings chemical changes in the water.
The natural filtration process removes pollutants from the groundwater thus, making it clean and fit for drinking.