Outlines Master Material

Hey,
i’m an absolute beginner in materials. I have a code bit, that puts an outline on objects. Is it possible to create a Master Material and reparent all asset materials from my map to it? Does the hierarchy works as in blueprints?

Thanks!