You do not have to "play" the whole game, once it's started up and your opponent has the ball, they can just quit out of the match. It just takes a few minutes for the game to register as a win.
NOTE: if you are unfamiliar with how to match up with boosting partner in NBA2K games, it's pretty much the same every year.
1. Make sure you are not "friends" with your boosting opponent.
2. Give favorable review for your your boosting opponent.
3. Each of you change time zone on your console to a time zone that shows a time of somewhere between 4-5am.
4. Click on "quick game" at same time. It's not a "perfect science", you will not always match up. Any person that we got matched up with, gave negative review (I generally put "too good" as the negative review) to keep from matching up with that same person.
UPDATE: This makes it ALOT easier! If you have downloaded the DLC, you and your opponent can play the "Classic Quick Match" which counts as ranked games as well. There are not that many people playing it, I was helping a friend boost the wins, and we got matched up 10 times within about 15 tries, so took minimal time to do this.