And our current technology for batteries is fairly nasty business, scaling up production (and eventual disposal) at the kind of scale where every household and business in the USA had a solar array and battery bank, would involve a pretty large environmental impact as well.
We'd have to look to future, cleaner storage solutions. Which I know are in the works and MichiFan certainly knows way more about them than I do, but I think some people don't realize just how impactful our current battery technology would be, at that kind of scale.