You are grappled by an enemy. You cannot move (Grappled Condition), though he could move you.
Moving a Grappled Creature. When you move, you can drag or carry the grappled creature with you, but your speed is halved, unless the creature is two or more sizes smaller than you.
Now let's say an ally of yours successfully grapples you. Can this ally now use the grappling rules to move you away from the enemy that grappled you, ending its grapple?
The condition also ends if an effect removes the grappled creature from the reach of the grappler or grappling effect, such as when a creature is hurled away by the thunderwave spell.
If yes, this would mean that you wouldn't take an attack of opportunity and all it takes is one (if successful) attack from your ally, ignoring the enemy's escape DC or athletics check entirely.