If energy is portable, sure. If not, then it might make sense to mine where energy is abundant and not put to better use. Eg plant a satellite with solar cells close to the sun just to do crypto currency mining? Maybe not crypto, but perhaps some other computations that don’t require too much bandwidth to transmit results.