You can install 3rd party keyboards on iOS too to be fair. GIF keyboards etc.
Old article but still relevant: https://www.macobserver.com/tips/how-to/ios-11-install-third-party-keyboards-on-iphone/
I don’t know if the iOS walled garden has any further security measures over Android.
https://www.vice.com/en/article/88xqnv/elon-musk-censors-twitter-in-turkey
If you don’t trust Vice, there’s a tweet in that article from an official Twitter account saying they will censor tweets.