How to assign one mouse button to a Modifier Key

I have been trying to mimic an Alt + Mouse scroll to zoom in and out my Mac screen. I press and hold the Alt on my keyboard and use the scroll wheel on the mouse to accomplish this by Mac OS default.

I wish to accomplish this without reaching out to the keyboard. Is is possible to assign one of my 12 buttons on my mouse as a modifier key, then use the scroll wheel to zoom in and out? then press the same mouse button again to disable the Modifier key.

I did find an action CMD Down, and Up, but couldn’t get it to work at all.

I use keyboard shortcuts to assign all my actions to 12 mouse keys.

Thank you