Electric vehicles overall are environmentally friendly. They aren't perfect and have some costs but they are overall a step in the right direction.
Good (though long) overview of the benefits of electric vehicles and renewable energy here: https://youtu.be/KtQ9nt2ZeGM