Is there a way to set up such a key command within Dorico? No.
Is there a way to edit the keycommands JSON file in such a way that you can use a key command within Dorico? Yes.
Nothing’s changed since One-button shortcut for tuplets? - #9 by fkretlow - it still works fine in 3.5.