According to Gemini, Earth datacenters cost $7m per MW at the low end (without compute) and solar panel power plants cost $0.5-1.5m per MW, giving $7.5-8.5m per MW overall.
Starlink V2 mini satellites are around 10kW and costs $1-1.5m to launch, for a cost of $100-150m per MW.
So if Gemini is right it seems a datacenter made of Starlinks costs 10-20x more and has a limited lifetime, i.e. it seems unprofitable right now.
In general it seems unlikely to be profitable until there is no more space for solar panels on Earth.
But it is always going to be significantly more expensive than a terrestial data center. Best-case scenario it'll be identical to a regular data center, plus the whole "launching it into space" part. There's no getting around the fuel required to get out of the gravity well. And realistically you'll also be spending an additional fortune on things like station keeping, shielding, cooling, and communication.
Starlink V2 mini satellites are around 10kW and costs $1-1.5m to launch, for a cost of $100-150m per MW.
So if Gemini is right it seems a datacenter made of Starlinks costs 10-20x more and has a limited lifetime, i.e. it seems unprofitable right now.
In general it seems unlikely to be profitable until there is no more space for solar panels on Earth.