Is it possible to sync Realm with mongodb community server only?

Hello !
I want to deploy a .NET MAUI mobile app with a local database that it is synced with a central server installed database. I am new on mongodb and I am searching if this aim it is possible using realm.
I don’t want to use atlas anymore.
Is it possible to syncronize a mongodb community server database with a local realm using .NET MAUI application? Or it is mandatory to use atlas?

Thank you very much !

An example will also be appreciate very much !