One of my homes has 10kw solar capability and the maximum power that the home uses is around 3kw (usually 1kw) at a time.
Now, thanks to living in Northern-Europe, the panels give meaningful energy only during spring to early autumn. But any energy not used (approximately 8-9kw) is "sold back" to the grid.
Because I have a high energy surplus it basically means that I use solar from spring to autumn and from autumn to spring I don't have to pay for any electricity (I'm using the surplus that I "sold" back to grid). Also, the government pays you for providing renewable energy (around 0.013eur/kWh).
So yeah, when you already have solar capability, mining using it could be done.