If we could make anodes which weren’t destroyed by falling to a low temperature, we’d already be doing it.
Then Aluminium smelting is an excellent match for wind and solar. Quoting https://hal-mines-paristech.archives-ouvertes.fr/hal-0052998...
"Typical numbers in accuracy are an RMSE of about 10- 15% of the installed wind power capacity for a 36 hour horizon."
So the coal plant needs someone who will buy power when it's cheap, and not use (much) when its expensive. Apparently an Aluminium smelter fits the bill nicely. I presume it uses enormous of amounts of power to disassociate the Al(OH)3 but needs only a small amount of power to keep the pots at operating temperature which is not particularly surprising as the pots can be thermally insulated.
Maybe the above claim that Aluminium can't tolerate rapid changes in available electricity is true, but it sounds odd. Coal fired plants often "trip out" - meaning the generator drops off line without warning. This is an unpredictable change that happens much faster than the sort of unreliability we see from renewables - it's a huge change that happens in milliseconds. And it's not uncommon: https://leadingedgeenergy.com.au/coal-fired-generators-trip/ Again, the Aluminium plants seem to cope with this extreme unreliability just fine.
Roughly the reason it's not economic is electricity nominally costs about 5 times what coal/nat gas does. And with the current carbon footprint of the grid it probably doesn't reduce CO2 emissions.
But that could change with as clean grid that has wild daily price swings. Electrowinning iron and other metals could easily soak up excess power.
More ambitiously ARPA-E has a program where one of the goals is light metal production(aluminum, magnesium,etc) using variable energy sources[1]. One of the interesting possibilities they present in the program is being able to use molten metal produced in refining as an energy storage medium. Although I couldn't find any program participants doing this one is using thermal energy storage for metal production[2]. A fair amount of metal refining processes need high amounts of heat and heat can be stored easier than electricity at scale.
[0]https://www.greentechmedia.com/articles/read/german-firm-tur... [1]https://arpa-e.energy.gov/sites/default/files/documents/file... [2]https://arpa-e.energy.gov/?q=slick-sheet-project/high-temper...