No but it’s fairly straightforward, you need to create a new shortcut and then add ‘Run script over SSH’ as the action
Is this possible without enabling “sound recognition” (always-on Siri)? That’s the only relevant condition I see available under Shortcuts > Automations.