Make sure it’s carrier unlocked, but yeah.

I’m all for buying my own phones and not getting one bundled with service. However, many times getting a carrier unlocked phone carries a price premium. As long as you’re fine sticking with your current carrier, they can even be carrier locked and work just fine. I agree though, ownership of your phone outside of your carrier’s billing is the right way to go.