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.
Couldn’t they charge a subscription? Or sell credits?
Genuine question.