Cost = emmissions
No, cost is not directly proportional to emissions.
Heat emission in space is not problematic for humans
Are you counting the emissions to get the datacenters into space?
That's an environmental and financial cost, but it's a one time cost. For datacenters on Earth, the emissions are continuous.
Are there going to be self sustaining server factories in space? The hw needs updating every few years.