Good question. I don’t know.
Key bindings are easy with xshkd.
I’ve never explored pointer/button actions, and having had a look at the documentation, it’s not obvious to me how to execute an external command with a right click.
If you work it out, I’d be interested to know. It would be a useful addition to the jgmenu github wiki.