No, I do not think the car in the pics is Legacy or Legacy B4. If you carefully inspect the headlight, it is the headlight of Impreza. The lower inner corner (the corner near the grill) is round for Impreza while it is acute for Legacy.
In addition, to the best of my knowledge, I do not notice any established PRO racing team is using Legacy for track.