no they are not, targeted attack of someone who is capable of using Pegasus is going to be successful regardless a consumer device u choose to use.
Iphones are a standardized attack surface. Apple prefers vulnerabilities not to be found than to be discovered and patched, leading to NSO holding on their discovered vulnerabilities for longer.
An android device with no modem (baseband) is definitely more secure. Throw in a hardware switch for camera, mics, and wifi, which iphones will never have.
0: https://www.politico.com/story/2018/05/21/trump-phone-securi...
Texts shouldn't be difficult, just disable on the carrier end. MDM might be able to restrict it further just in case. With iMessage you can just not sign in to an Apple ID. Or use MDM.