Aggregating target-encoded array-like categorical features?
There are several options:

Domain knowledge - Given what you know about the domain, combine the categories that make the most sense.

Empirical - Treat combing categories as a hyperparameter. Search through the space of options and pick the best combinations based on cross-validation score.