I mean, you can already sorta gamble with items. All they would have to do is guarantee some form of return and give you a chance to get a higher return. In any event, they keep your real money and give you digital goods at no extra cost to themselves.
They could even add a gambler's den faction for winning bets.
The more I type this, the more real the possibility of this happening becomes. I should have never mentioned this.