Will AffiliateWP work on WordPress.com?

No, AffiliateWP will not work on WordPress.com. It only works on self-hosted WordPress installs.