How to make a matchmaking system

Is it possible to create a matchmaking system instead of connecting clients? And if that’s possible how is it done? Thanks in advance :smile:

Technically, it is possible! With P2P extension and Firebase!

Is it secure though? Like from cheating or something else.