Sounds like a variation of the Martingale system, which has been proven like every other system to lose money over time at approximately the rate of the house advantage. You can read about it
here. As you already noted, a player can win small gains for a while but eventually they lose a large stake that makes up for the small gains they've been making.