Add-ons (listeners) are explicitly and intentionally not run through the upgrade process so it's quite unlikely that anything would work. If something did, it'd probably have to be done via config.php though I'm not positive if that's still viable. (There isn't likely to be a relevant event being triggered.)