Theoretically speaking if you could predict the algorithm in an online casino wouldn't you be able to predict the game and win a lot let's just say you had access to the algorithm and you were able to replicate it you would practically be able to win all the games
You will be the luckiest gambler if you can have access to the algorithm of the casino so you can manipulate and win all the games, but it's the easiest way to get your account flagged, there's no such thing as winning all the games, casinos will eventually catch you because a casino's script has a security system that can monitor, check your account for manipulation, you cannot undermine the casino's security, its better to have one huge bet than trying to win in all the games.
The casinos are profit-driven companies they are not here to lose to gamblers, for 5 gamblers that play only 1 will win and most of the time it's the gamblers that bet low are the ones who are favored to win, so even if you know all the algorithm of a casino, you have to be wise to use so you will not get caught.