You're able to gamble in game currency as long as there's no real world gain from it no matter what. Zenga Poker, Poker Stars, GTA V and their Casino. It's all legit, full on gambling, but there's no real world benefit so it's not technically illegal.
Edit: Some countries may ban the gambling...