If all the sills and jambs are good you can use insert type windows that press up against the exterior jamb stops,fill the interior jambs, to trap the window frame with a proper reveal and finish with casing. Very easy and doesn’t mess with the integrity of the exterior walls at all.