It's a terrible idea, but it at least merits a formal study ruling it out, because we're rapidly reaching the point where the only remaining ideas are terrible.
We don't need special space solar panels. Terrestrial solar panels suffice. It requires some earthbound infrastructure, but it does not require any novel inventions, just money and effort.
But we're rapidly reaching the point where even a completely decarbonized economy won't suffice, and emergency measures would be needed to keep large swathes of the earth habitable. Every one of those emergency measures are stupid and dangerous. But we're busy doing stupid-and-dangerous now by pumping more CO2 into the atmosphere every year, and we may require stupid-and-dangerous ways to limit the damage.
For many years it was dark. And then, one day, it was suddenly light. /s