There are some ways that may be partially effective. There is a way of ligand exchange for REE's; find the following paper below, within which there are many references.
A Study on Removal of Rare Earth Elements from
U.S. Coal Byproducts by Ion Exchange
PETER L. ROZELLE, ADITI B. KHADILKAR, NUERXIDA PULATI,
NARI SOUNDARRAJAN, MARK S. KLIMA, MORGAN M. MOSSER,
I think you can try supercritical metal extraction process or-else you can try pyro based process. Even some paper published based on the alkali leaching.
Article Fast copper extraction from printed circuit boards using sup...
Article Review of Pyrometallurgical Treatment of Electronic Scrap
Even you can try alkali fusion methods also but complication will arise during the separation process