Compositor output as texture in Cycles material? Better in realtime?

If there any way to use Node Compositor output result as texture or image in Cycles material/shader? Better in realtime?
Or use Compositor nodes in Material Node Editor?
May be any Addon to automate something?

What you have in mind is not possible, but
you can do it the other way around.
Look for the node “Map UV” in the compositor.
See for it’s usage:
https://docs.blender.org/manual/ko/dev/compositing/types/distort/map_uv.html

Probably you need to combine it with more renderlayers for your scene.
But it has it’s limitations and there are alias issues when using object ID and material -ID.
3Dluver has a build with an antialias node in it that solves that problem.

Thanks. Sorry for not full info for my case.
I like to write my own Addon for that. In general I need a lot of nodes of Compositor in Cycles for rich textures setup for PBR in realtime based on single RGB input from photogrammetry source. And I like to see immediately the result of RGB processing in Cycles Render viewport on highpoly photogrammetry mesh. Because UV on it is extremely fragmented I have to see changes on model, not on texture.

Just looking if someone already implement this feature, to don’t waste my time.
Thanks.