If you are thinking to apply it to an online casino, it didn't work since the beginning. An online casino is electronically controlled and that means even if you play 100 reds it may come out as 100 blacks. This is something which has less than 0 chance of probability in real life but in real life the bookies made this strategy to void itself.
Even if you say that this strategy only makes you win your initial bet, there were people in different casinos who only kept playing this until the won and they start over to win again. That was the number one reason why offline casinos have put betting limits.
Nevertheless, at the end of it all, it still balls down to one single thing, and that is losing. Even those who manage to get lucky and win big usually end up gambling it all away out of greed anyway. This may sound like contradicting myself like how a lucky person will lose all. That is the thing where human blame and makes a mathematical formula shit. We cannot prove a mathematical thing wrong still we cannot use that for making profits hence we need to analyze where is the actual thing which went wrong. One is greed and another thing is practical limitation while gambling.