Can I Use a Parameter of Vector Array in Materials?

Can I put into materials a vector array of arbitrary length (which is meant to be different between different actors of the same class), and set up a set of nodes that ultimately behave like “ForEachLoop” so that I can do something with each vector the parameter array holds?