Replacement windows do not offer any good method of sealing against weather. They are simply caulked in place. They rely on the flashing of the still-in-place original window frame .
Replacement windows are widely used here in S. Calif. where rain and cold wind are not big issues. I would not do it in a cold wet climate. I would take out the original window so a new window can be properly flashed.