Spinning away from a flag pull is legal under IFAF rules, as long as the spin doesn’t noticeably raise the flags.
Spin and dip (bend your knees to get low) and it’s still legal. Spin and jump, or spin into a dive, and it’s a foul. If the spin causes contact, it’s on the runner, who is responsible for avoiding it.
The rule
IFAF Flag Football Rules 2023, R 2-12-5
The call
None for a legal spin. Combined with a jump or dive: 5 yards from the spot of the foul, plus loss of down (signal S51).
S51 Jumping, divingArms down, hop up off the ground.
Other rulebooks
NFL FLAG and local leagues can differ. Check the rulebook your league plays.