There is a lot of R&D predating mass cheap solar where proposals do things like have it captured at the production site or arbitrage cheap off peak energy to store it since the grid capacity is there anyway.
Modern solar definitely makes this idea more attractive but you’re still emitting more carbon to build the solar in the hopes you’ll store more than you produced in X years. It is not a great value proposition versus making the grid more efficient or just emitting less by using that solar for the grid instead of sequestration.
Don’t know if it will work or is economically viable, but sounds pretty win-win to me.