This is almost certainly illegal and violates Microsoft Terms of Service.
Exposing minors to gambling mechanics (loot boxes, skin betting, currency wagering) correlates with problem gambling development. Do not facilitate this.
If you suspect a minor is being exploited, report to the platform (Xbox Report) and relevant authorities (e.g., FTC, UK Gambling Commission).