Has anyone tried integrating Matomo with Manifest v3 Chrome Extensions?

We are trying to integrate Matomo analytics in our Chrome Extension which is based on the new Manifest V3. Unfortunately, with the recent limitations on remote code execution, direct script integration seems impossible (or for lack of knowledge of it).

Has anyone had any success in integrating with MV3? Any pointers would be useful.