Easy win
Turn off fouling in the NBA rules section of the options menu. Use the intentional foul to make the other team drop the ball, pick it up, score, and repeat as needed. Turn off fouls and goaltending then just keep blocking them and there will be no foul.