@MM5You would need to pay off the remaining device plan and then upgrade, once you have done this, then you can trade your phone in with the likes of o2 Recycle or Music Magpie and get some of that cost back.
- Xperia 1V - o2 and Spusu
- Pixel 8 Pro - o2 and Vodafone UK