Pear To Pear Matchmaking System

Good morning,
I’d like to do something with Unreal Engine 5, but I’m not sure if it works in the context I want.

I’m on a multiplayer game with a lobby and everything.
I created a lobby similar to a battle royale like Fortnite or Apex Legends with a “Ready” button

I don’t have a server currently, because I want to do Pear To Pear, which means I want to make sure that as soon as people get ready, it adds them to a queue.
Once this queue is full, the system will take all 30 players in the queue and choose the one with the fewest PINGs to host the game.

Once these conditions are met, the game begins.
Is it possible to do this?

image