There’s a way to sort of ‘inoculate’ yourself against brainfreeze. I discovered it by accident when I was little.
Get the biggest, most painful, most debilitating brainfreeze you’ve ever experienced (mine was due to drinking a slurpee way too fast on a hot summer day) and there’s a good chance it will break whatever neurological short circuit causes you to experience brainfreeze. I’m not talking normal brainfreeze, either, I mean it’s got to be so bad you’d rather die than continue to experience it.
When I did so it hurt so badly that it literally knocked me to the ground and left me functionally blind for several minutes. The lady at the gas station thought I was having a seizure until I managed to tell her what had happened, and ever since then (for something like two decades now) I’ve been immune to brainfreeze.
That which does not kill me makes me stronger.