Indirectly, yes. You can use VBA (Excel) to shell execute the AutoHotkey or PowerShell scripts mentioned above. However, Excel cannot directly inject keys into a Win32 dialog.
In the context of software piracy, a macro or automation script attempts to exploit the registration interface of a local application. Visual Watermark Activation Key Macro
Where do your source images come from? (e.g., SD card, Lightroom export, cloud storage) Indirectly, yes