Coupon for affiliate commission (ie not from incoming link)

Hi - is it possible to generate unique coupon codes that will reward affiliates for upgrades to Pro Sites without the affiliate actually using an affiliate URL to drive the visitor?

usecase: a client has a basic pro sites website - they get prompted to upgrade, they use a coupon code to get a discount, the affiliate associated with the coupon gets a commission

possible?

thanks