I know they make this for other applications I believe. You could make the inside of the pipe material with something that would react with the common oil chemicals that it then would gel and harden up. So when the pipe cracks, the oil would react with the exposed inner material and chemically react to gel and harden. However, I don't know this would work with a more extremely busted pipe.