This is off the top of my head but I think there is a maximum limit of 3 years before changing loans will give you a penalty. Still lots of loans are written with a 5 year prepay penalty.
The real issue i think is that most lenders will not do second loans anymore.
Also I don’t know if the you can just replace a first loan.