How do I make an array based on all actors with a specific tag?

I have a huge list of items I want to randomly spawn on a map on target points. Is there a way for me to turn any actor with a “spell” tag into an array so that the spells spawn in the locations?