Affiliates – can a coupon be used to generate a commissionable sale

I’m trying to be creative in figuring out how to pay affiliate commissions for referrals that end up buying a Pro Sites subscription, without using the Affiliates plugin as the original referrer tracking method. I’m using AffiliateWP for other sales, but desperately need to pay commissions on Pro Sites and can’t figure anything out.

so wondering if Affiliates/Pro Sites supports a coupon code being the trigger to assign affiliate ID

open to any other suggestions too, thanks