In essence I will be gambling that there will be more 20 in a row same side than 21 in a row same side, which might be probably true, I have to test it.
Edit: in reply to your edit, I will do this "virtual" bet and update this comment with the result. I will try to tweak it to be in my favor, if there is no way to do so, then I guess the gamble fallacy is a real fallacy.
PS: not an actual bet, just tinkering stuff (betting is haram).
I think you're missing a subtlety here.
It's true that 20 in a row is twice as common as 21 in a row.
But 20 in a row is exactly as common as 21 or more in a row.
When you bet on that coin toss, you're not betting on 20 vs. 21. You're betting on 20 vs. 21+. So it's 50:50.
For every thousand times you reach 20, the bet that it ends at 20 wins about 500 times, and the bet that it goes above 20 wins about 250 + 125 + 62 + 31 + 16 + 8 + ... = 500 times.
After the 20 have landed the next flip will still be 50/50.
Just as 20 perfectly alternating heads/tails/heads/tails will lead to another 50/50 chance, or any other potential pattern the past may have held.
If you really believe in the gambler's fallacy, then there must be some greater-than 50-50 chance of the opposite side coming up. Offer me some odds (say 5/4) and define some table-stakes (thus removing the advantage of having a higher bankroll) and I'll definitely take you up on it.
[edit]
The random.org API seems unnecessarily complex, non-reproducible, and requires trusting whomever runs the JS. I propose an alternative of us each picking a value equal to the key+nonce length of ChaCha20 and pre-sharing the sha512 hash of that value. We then reveal our picked values, XOR them together and use ChaCha20 to generate bits for heads/tails.