Yes but it’s very hard.
You must save the macro like bookmarkes and after with external software you must run the bookmarks with Google Chrome opened and it run the macro in browser opened.
But it is not easy to do this.
Here discussion to save keys combination to run bookmarkes of ui vision
To click keys combination some user use autohotkey software.
In my opinion command line of ui vision works bad, usually random give errors, if you run 1000 times macro you can see bug and errors, is not stable ui vision for this type of work because require a large amount of resources when browser start up.