Yes, you can exclude media from being tracked by specifying a data-piwik-ignore attribute. Read more about this in the guide for restricting tracked media data.