Can Piwik be setup to work like the Cake platform?

I am just curious if the powers of Piwik could also be made to work as an affiliate tracking solution similar to the project Cake[1]. Would love to see a true OpenSource solution that can do what Cake offers.

Thanks,

[1]http://getcake.com/

edit: Or could such an addition be a possible croud source type situation if there is enough interest? I know I would be willing to contribute to make this happen if it would become a part of piwik. Cake goes for $1500 a month just to start. And I know many users of cake that are very unhappy with it but stuck as there is no alternative. Could be a great way to bring more users to Piwik and more for the devs.