Dedicated Server with custom matchmaking

Hello everyone. Please tell me if it is possible to use a dedicated server for real-time network game together with a third-party mactmaking server?

The idea is to make a backend server on Golang (matchmaking, leaderboards, lootboxes, etc.), and use the UE Server only for the game session.