No. The nba allows a gather step. So if one foot is in the air when you put both
Hands on the ball, your foot in the air can be the pivot foot. So he gathers, his first step becomes his pivot foot, then he can place his other foot down (using his first foot as a pivot) and dunk the ball.