Is it possible to mine multiple asteroids?

I’m using the e5c1ab script but im using a mining barge in high sec. The mining barge shreds through the asteroids quick but the bot only targets one asteroid and sets both strip miners onto the one asteroid which kills is super fast.

Is there a way so that the script targets 2 different asteroids and separates the strip miners?

I had a look at e5c1ab0f97: Such a feature needs a change in the program code.
You could use the assignedIcons field on each target to see if it already has a module assigned. You can add a branch to switch input focus to another target (or lock a new one) if the active target already has a module assigned: