No.
We do not currently support using an attribute with multiple values (ie: an array) as a custom ranking attribute.
You can use an attribute containing a single number, boolean, or string. However, for the custom ranking precision, we encourage you to use attributes with boolean or number values instead, as they work better with our tie-breaking algorithm.