Yes, provided you're playing at a licensed and regulated online casino. These casinos are required to ensure fair play and use Random Number Generators (RNG) to determine the outcomes of their games.