Yes, lots of it. There are even service (e.g, Viglink - http://viglink.com/) that specialize in replacing/modifying affiliate links automatically.
What the companies running the referral programs think of these services is unknown. I can't imagine they like it...