It's posible to add extra mouse buttons to a shortcut?

It’s posible to add extra mouse buttons to a shortcut?
Here’s an image to ref: image

Or maybe a script that allow that(?)