It’s a thing, that should work for this:
A MaterialParameterCollection is an asset that stores an arbitrary set of scalar and vector parameters which can be referenced in any Material. It is a powerful tool that artists can use to get global data into many Materials at once.