Ok, after some mucking about, I found the Execute Script keyword. This works with the mobile:pressButton
Appium mobile command which simulates the pressing of physical buttons. Combining the two did the trick!
Here's the resulting command:
&{button_name} create dictionary name=home
Execute Script mobile:pressButton &{button_name}