Can lava burn through anything?
Similarly, you may ask, what material can withstand lava?
Since lava is typically around 2200 F, Platinum and Titanium would both be fine since they both have melting temperatures above 3000 F. Also, some ceramics could probably withstand these temperatures.
Accordingly, can lava melt diamond?
Lava on the surface of the Earth has a temperature range of 700–1200C. But on the surface of the Earth, diamond doesn't HAVE a melting point. It goes straight from solid to a gas at 3600C, well above the temperatures of molten rock. At pressures around 100x atmospheric pressure, it is possible to melt diamond.
Niobium,Chromium,Molybdenum,titanium,Tantalum,Tungsten,Rhenium these are all metals that are heat resistant enough to avoid melting in lava since,most lava is from 700-1200°. So yes,theoretically you could create a pipe and pump that could survive in lava.