Not impossible, i think there are ways of triggering upgrades in with skills which works. Tie the proper upgrade to a skill and get your hero to research the upgrade when the ability is learned. All is this possible in the regular editor in theory according to what i remmeber, But make sure to assigne the upgrade to your hero or it won't work. but if you wish to use WCU, do that instead if you aren't familiar with triggers.