I suppose you could make your vias into components. Then you could run the placement script to place by a .pik file. You could generate that file with some scripting probably. Idk just a thought.
or you could write your own script within altium to add vias