I believe that that could be done with dynamic terrain tesselation like showed in this UE4 tutorial.
or with decals if you need only surface tracks displayed as textures.
I think that none of the above are yet implemented in Godot yet, according to this Github issue and roadmap, I expect at least decals to be in godot 4.0, which will include Vulkan renderer as well as many new rendering options.