I was an engineer at a company attempting to extract rare earth metals from fly ash using a solvent method (supercritical CO2). Similar to how caffeine is removed from coffee.
There aren’t a lot of rare earths in coal/fly ash but even modest coal plants produce tons of fly ash daily.