Hello,
Although it can be acheived using AppWarp Cloud but it will not be a straight forward process and you may have to write an lagorithm of your own on client side.
I will recommend you to use AppWarpS2 instead. Because, with AppWarpS2, you will have flexibility to customize the server side logic as per your need. In AppwarpS2, you can override the server side match-making logic to write your won logic.
Please go through the documentation and let me know if you face any problem.
Thanks.