Use another Material as a Material Function/Texture in another material

I want to use an existing Material without modifying that material, or knowing anything about how it works as if it was a just texture.

I want to do this because I would like to apply a set of material functions to the resulting colors of that material. This is not really a PostProcess Effect because I want to do it seperatley per material and not to the whole screen.

Layering looked promising but my understnading is that runs each simultanously and layers the results vs the first material feeding to the second material.

You can use only material functions