I tend to use OpenTX flight modes to make this happen. You can have many of those, and then trigger whatever else you need from there.
e.g., I use logical switches to combine physical switches, then I set the activation switch for flight modes to those logical switches.
I use special functions to override channel 5 for my flight mode (which I also use for arming). So I have several flight modes over ~three switches where "disarm" is all the default positions (also enforced by OpenTX at model selection time with switch warnings).
Then I proceed through switches:
SA -> disarm, manual, rate
SE -> rate -> leveling -> heading hold
SB -> heading hold -> loiter -> RTH
You can name the flight modes on the taranis so they show up on your selection, and then have special functions do magic stuff.
-> play "disarmed" (once, not initially)
-> set channel 5 to -100
-> play "armed" (once, not initially)
-> play "manual mode" (once, etc...)
-> set channel 5 to -90