Creating array of varriables + Writing a loop routine in rule

Sort of and it depends on your use case. For example, the expressions feature in rules natively supports defining variables inline and then you can use the various array functions to manipulate and consume the array.

image

image

And while there’s not a native ‘Array’ variable type, you can encode an array to JSON to store it in a Text variable and then decode it within an expression as needed.

Some example threads showing neat array features:

I would reiterate that the documentation is the best source for the available functions. The above threads just show some real life examples, but require a bit more effort to understand the context of what’s being demonstrated.