Ah, yeah... Turns out that when you use the correct syntax in fail2ban jail definitions, they actually end up doing what you want...
(Specifically, to overwrite a variable in an action, use action = actionname[variable=value] instead of anything else that might come to mind...)