Yes you can chose one pair with continuity to be A+ and A- and the other B+ and B- without risk for motor or driver.
If the motor runs in the opposite direction that you want ( expect ) just reverse A+ and A- and the direction is reversed ( or do that in the software )