It’s actually probably not possible. We’ve exhausted all the easy to find/surface layer minerals. Oil doesn’t just leak out of the ground anywhere. Iron, copper, coal, are all underground.
Very good point. I read Olaf Stapledon's First and Last man, a sci-fi book which describes the next few billion years for mankind and deals with this issue.
In one scenario, human society collapses, spends 80 million years living as hunter/gatherers (with some evolution) and then develops once again to a technological civilization, in part because the minerals and fossil fuels have been replenished.
We've also had a lot of time to develop new things that mean we might need oil less. Oil was (and still currently is) a necessary developmental stage. We just need to get through it.