Yes, you can get banned for Martingale.
Martingale is a gambling system that involves increasing your bet after a loss in order to recoup your losses and make a profit. While it can be effective in the short term, it is a high-risk strategy that can lead to ruin if you experience a long losing streak.
Many online casinos forbid the use of Martingale and will ban players who are caught using it. So if you're thinking of using this system, be aware that you could end up getting banned from your favorite casino.