This can lead to a solution, but at high latitude it becomes infeasibly expensive. Insolation varies too much from summer to winter. Low round trip efficiency long term storage becomes much cheaper than doing (just) this.
But yes, resistively heated ultra low capex thermal storage ("hot dirt") is very attractive.