Piwik player statistics

Did anyone already try to add piwik statistics to a player?

Could I use the Track event monitor to build some server side script which in turn uses the piwik api to collect statistics?

Got to this thread by Googling, thinking of doing something similar. Has anyone gone down that road?