Wow! Yes. This is also a good solution.If I were to visit China, Russia, Iran, or the other usual suspects, I would buy a cheap, old iPhone model. I would sign into an alias iCloud account and leave my actual phone(s) at my domicile. I would then chuck the iPhone after I return. It's the safest way with these hostile nations.
(Also, make all of your social media private prior to leaving your country.)