Yeah. Coming from the US, I usually get an international data plan from my carrier and use it sparingly. (And it's often expensed anyway.) But for longer trips on my own nickel, I'll get a local SIM card.
When I use a local SIM, it goes into an old phone and my regular phone stays like it is. (I don't actually do a lot of texting anyway. The data is mostly for things like maps and directions.)