Hard to say with stepper motors. Generation is more complex than with a 'conventional' motor.
Generally speaking, if the clamp diode is fitted such that back emf is passed to the supply rail, then driving the motor will try to raise the power rail. If the power rail is a battery, then yes, it will try to charge the battery.
A lot depends on the internal workings of the driver chip.