Yes, you can. What are you trying to accomplish - there may be a better way.
Here is how you create your variables. In Kiss Assist, do a Find (Ctrl+F) and find ' Sub DeclareOuters '
What you would want to do is introduce (create) your declarations in this section - you notice. Example:
/declare DebugAllOn int outer 0
In other words:
/declare <name of variable> <int/string> outer <default on (1) or off (2) - if a string, default value of string>
In using your specific example, you could very well do:
/declare tankmode int outer 0
Then in your conditions
DPSx=doyourstuff|99|Condx
Condx=${tankmode}
Now, what I do for mine (maybe it helps). This is the code I put in the DeclareOuters section
/declare SmallBurn int outer 0
/declare MediumBurn int outer 0
/declare BigBurn int outer 0
Then in game, I have (3) regular socials - one for each burn. In each I broadcast to my toons to set the variable (varset) to on (1):
/dgze /varset SmallBurn 1
/dgze /varset MediumBurn 1
/dgze / varset BigBurn 1
Additionally, in the combat reset portion of Kiss Assist (Ctrl+F) and find ' Sub CombatReset ' I turn these variables off:
/varset SmallBurn 0
/varset MediumBurn 0
/varset BigBurn 0
Gives me full manual control of the pilot to turn on these variables.
Now, in each ini I've put the various discs, and the conditions I would be using them. If, for example, I have something I want in only one category, I put it on its own condition. If I'd like to be in both (or all), I just put "OR" between (pipes ||).
Condx=(${BigBurn} || ${MediumBurn} || ${SmallBurn})
I would use a condition like this on a smaller burn, and make sure it is LOWER in the DPS list (if using DPSOn=1) or lower on the threshold |20 or so (if using DPSOn=2). The main reason is the preferred burn discs would be staged higher, and one of these "lesser" abilities would only go off should the better ability already be on cooldown.