There are no illegal formations. The only rule relating to that is that Centre has to snap the ball from the middle of the field where the beanbag is (so unlike Tackle where they can choose a hash mark.. Flag plays will always be played from the middle).