Yes, the raw data is accessible by using the Matomo (Piwik) Live Reporting API.

Additionally, if you host Matomo yourself, you get access to all data that is stored in your MySQL database: the data is stored in the matomo_log_funnel table.