Sure, my group of four players (wizard, paladin, barbarian, warlock) took on the Tarrasque when they hit level 20. It was their seventh encounter of the day, too.
It went about as you might expect. They tried to stay at range, but found themselves ineffective at doing so. In melee, the barbarian and paladin were swallowed within a few rounds, while the wizard did the heavy lifting with his Titan power armor (although the Tarrasque did manage to destroy that before the end of fight, and the wizard was rather put out considering that he burned his ability to Wish in order to acquire that). The warlock played it safe by hiding in a Force Cage and spamming lesser cantrips (Chill Touch, maybe?), since Eldritch Blast didn't work; although the Tarrasque wandered out of range near the end of the fight, when there were no other targets visible and it realized it couldn't crack the cage. It would have been a TPK, if the Tarrasque's stomach wasn't such a friendly environment from which to attack, and the fighter-types eventually finished it off from the inside.
Two things seem odd about this encounter and make it sound like it was easier than it should have been.Isn't that weird? It seems like that has always been the case for getting swallowed for almost all monsters, at least since 3e. I would much prefer it if it was a lot harder to attack (muscle action constricting the victims) or a lot deadlier. Being swallowed is usually no more than an inconvenience, in my experience. The only explanation I can think of is that it was intentional to have characters popping out of the gullets of creatures everywhere, a la Red Riding Hood.
1. No magic can pass through forcecage. So the warlock could not hide in there while spamming cantrips.
2. 56 acid damage per round and being restrained does not seem like a friendly environment. Were the PCs immune to acid damage. Your basic level 20 character might have +11 to hit. Having to roll a 14 on dice at disadvantage is not simple.
Am I missing something here?