https://github.com/seblau/BlackJack-Simulator is an example of this. The house advantage of blackjack is under 1% for good games (for example 0.33% at Mohegan Sun). So to beat it you just need overcome that which IS possible by counting. But you can see if you play with that sim, decreasing penetration, bet spread and amount really starts to eat into your numbers.
But with the mitigation strategies listed like low penetration, heat gained by betting big, or wild swings in bet amount, and finally no mid-shoe entry it is not possible now to do it and make good money.
https://wizardofodds.com/games/blackjack/card-counting/high-... Michael Shackleford is an expert on gambling analysis and is employed by gaming companies to check out their games. He has loads of detailed information and statistics on his site about every casino game.
But yes. Mathematically possible, and possible in the distant past when casinos didn't know. Pretty much impossible now due to casinos detecting it easily. Not because it isn't mathematically possible.