Yes, it's called 'biomining' and there have been several startups working to engineer organisms to do this. eg Universal Biomining working on copper (with bacteria) and a team at University of Washington who took an enzyme from rat's livers and put it in a plant to remove VOC's from the air (successfully!)!
How does it work? I figured you'd have to somehow dispose them in a way such that it doesn't reenter the biosphere.
The beauty of it is that even as the metals become concentrated in the plants they're removed from the biosphere, so all you have to do is process the plants, extract the metals the same way you would from an ore, and dispose of the remains. A valuable ore may only contain a few percent of the precious metal with the rest being silicon, carbon, or other base elements.
Look into phytoremediation. It's already being used.