Not all oils are based on petroleum stocks. One specific brand of synthetic oil is chained from a gas - ie gaseous product. And there are numerous plants attached to food production plants which crack the byproduct stream and make precursor polymer feed stocks. LIke - turkey processing plants.
So it's entirely possible you could lube your polymer gun made originally of a biological source, like turkey byproducts, with a synthetic oil which had no feed stock pumped out of an oil well, but a decomposing landfill or recycling processor. To a chemical engineer operating a cracking tower making hydrocarbon chains, it's all feed stock and it's all probable. Costs are what eventually drive it.
I'd be less worried about the polymers, we've used plastic grip panels on the 1911 much longer than carried Glocks and the major problem has always been dirt's abrasive nature.