A limited set of actions can assigned via macro commands. Incompatible actions are ommited from the generated macro. Also note that Macros are limited to 15 lines each.
From Bun Boss video
My setup for my g600 mouse.
Endwalker Lvl90 Summoner
Valen Bree