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?

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.