edit: apparently that was a stupid question...
edit: apparently that was a stupid question...
Socratic learning is definitely a thing, but it's mostly philosophical. In this case, you are asking a question that is presented in a way that suggests that using batteries defeats the goal of creating renewable energy. However, you did not present any studies, news, or any other information, to bolster this idea.
This logically fallacious tool is used a lot nowadays. If you believe that batteries are not green, prove it. Otherwise, why pose a researchable question in the first place?
I wouldn't think many would come to defend batteries, that they are awful for the environment isn't a controversial idea. They do however enable things like electric cars and such, which arguably make them worthwhile.
And there are also other applications for batteries, such as even out supply and demand in the grid. But that doesn't really require them to be that environmentally friendly themselves to make sense for the environment - since they might enable more solar power etc.
But as energy storage for the sake of just storing it? It might be worthwhile for a household (perhaps mainly because selling the surplus electricity often isn't a good deal). And the economics might even be worthwhile on larger scale as well. But is it really environmentally friendly?
Regardless, I can't imagine that a renewable energy + battery system is capable of doing anywhere near the environmental damage of most carbon-based systems.