Does apple allow you to write an iOS 14 app, that behaves like Siri, i.e. when a trigger word is spoken, (even when the iPhone is locked), the said app "is invoked" and does someting?
I'm writing this for my own use, so root the device, or run it in developer mode (if there is such thing), cripple Siri, are all acceptable.
Hey Siri, Ok Google is too long
You can try recognition Apple Speech Framework + recording AVAudioEngine