The amount of CO2 spent launching the data center to space probably offsets the lifetime saving of the solarbased energy used by the data center. That is ignoring filling atmosphere with toxing fumes on re-entry, and that after the short lifetime in space the servers, GPUs and solar panels don't find a second life.
Should SpaceX solve the problem of requiring fossil fuels to launch (doable) and the burning things on re-entry (harder) I don't oppose solar data centers. But without those, it's just externalizing the environmental cost to future generations.