Heating with electricity is a profound waste though when natural gas is a fraction of the price. And if you do have to heat with electricity, a heat pump is going to be far better than mere resistance.
Unless you were going to spend that electricity on compute anyway. In that case might as well reuse the waste heat.
However a heat pump doesnt yield you any money.
Even purely from a perspective of self-interest, you're unlikely to make any money mining bitcoin even with free electricity, let alone if you're supposed to do it with just the power a heat pump uses.