Can I introduce duels with entry fees

I want to introduce a in-game currency that can either be gained through playing or purchasing with Robux. Would it be allowed for me to introduce a feature where players could enter a race/duel for a certain amount of that currency and the winner gets to claim all of it?

If so, could this also be implemented into a “lootbox-opening” system where players would enter the duel through purchasing a certain amount of lootboxes with the aforementioned in-game currency; the lootboxes would be opened by the system and the Player that opened the highest total value items would receive the items from all the lootboxes?

I’ve seen similar posts in the forum but none with the exact thing I was looking for.