Yes, if you're playing at a licensed online casino in a country where online gambling is legal, the software providers and the games they create are monitored and tested; This means you can place your bets knowing that the games are fair and use RNG to pay out as they should.