Bind UXML Button to Event/Method?

Hello, I’m wondering if there’s an easy way to bind a UXML Button to a Unity Event or Scriptable Object?

image
I’ve created this little helper script to more or less give me that functionality, I just want to ensure I’m not re-inventing the wheel here, or if there’s a better way to do it. Thanks.