If no pax deplaned then it's a possibility. Although I have only done a compass swing in a small aircraft.
A compass swing is done to see what deviation the metal around the compass does to the magnetic reading of the compass. Has to be done with engines and systems running and all points 360 deg. A runway is useful as it's magnetic direction is already known.