For those interested in another solution, when it comes to dead ends and custom actions, I find this approach interesting.
I saw ChatGPT could generate regular scripts and thought... Maybe I should try to see if it could generate PM actions too.
To my surprise, it worked, although this isn't foolproof. I had to look at other playmaker scripts, modify a small amount of code like the namespace and remove/replace other things and it worked!
I'm attaching the action here incase anyone wants to check out what the bot did.