You can use Google Tag Manager to trigger a Google Analytics 4 tag and normally it should work.
FoF Analytics Settings
Add the GTM ID (you can leave the Google Analytics code empty [Tracking Code ID])
Google Tag Manager
Create a GA4 tag with the correct measurement ID.
You can follow this tutorial where it gets explained in detail:
How to Install Google Analytics 4 with Google Tag Manager