B-Wings outside of the rebellion can be explained in a headcanon pretty easily.
Rebel pilots who knew of the b-wings (either as prototypes or standard ships) defected from the Rebellion, deciding they'd rather live that life than be constantly sent against the Empire.
