The Federal Government does not have any restrictions on rainwater harvesting. Some states have minor regulations in terms of the amount of rainwater collecting and the means by which it is collected, but most states allow their citizens to collect rainwater while others even encourage it.
https://worldwaterreserve.com/rainwater-harvesting/is-it-ill...