Installing a replacement window in new construction scenario
I wish this board would let me say this, but a mod deleted one of my posts recently for being too short. However, here's the answer - 

Yes

Flash the framing with some wide flashing tape, and build you a frame FOR THE NEW WINDOW, not the frame where it's going. That make it easier to install the replacement window to your liking. Just shim your new frame square (plumb/level it if possible, but not necessary), and install the new window with the screws provided.

If this is your first, make sure to tighten the mid-frame shim knobs, or shim the middle of the replacement window to where the sashes run snug.