As long as the surface of the catchment area is clean and an appropriate filter is used, rainwater can be filtered and drunk. Water throughout the house can be filtered using a UV filter or a quantum filtration system. Alternatively, you can use a gravity filter such as the Berkey water purifier dedicated to drinking water.
Below you will find two helpful answers on a similar topic. 👇
Can you drink roof runoff water?How are compound eyes different?