A: The case you describe comes in conjunction with a pass or shot. Therefore, the player may not hold the ball and move the other foot across the floor, as you describe below. According the Article 25.2.2 - While moving: to pass or shoot for a field goal, the player may jump off a pivot foot, but neither foot may be returned to the floor before the ball is released from the hand(s).
A: The case you describe comes in conjunction with a pass or shot. Therefore, the player may not hold the ball and move the other foot across the floor, as you describe below. According the Article 25.2.2 - While moving: to pass or shoot for a field goal, the player may jump off a pivot foot, but neither foot may be returned to the floor before the ball is released from the hand(s).