Not at present, no. The "Stop Another Command" action does not support variable/by name input.
If your command is running in a loop(using actions, not the "This command repeats" option), you can have that loop check a variable each time it comes around, then change the value of that variable with another command so the loop will stop.