With Vocal Shortcuts, you can teach iPhone to perform an action when you speak a word or another sound of your choosing. Vocal Shortcuts can be useful if you have moderate to severe atypical speech but can reliably vocalize certain utterances. Audio is processed on device.
Go to Settings Use Voice Control commands to interact with iPhoneAccessibility features for speech on iPhone