Apple offers you the ability to customize your iPhone to provide haptic feedback with each keypress, for a better typing experience.
[Quick] Unlock any iPhone without passcode, whether you forgot the passcode or the iPhone is disabled
You can receive per-key haptic feedback when using the iOS keyboard to type on your iPhone. If you're unfamiliar with this feature, you can use the guide below to learn how to enable or disable per-key haptic feedback on an iPhone.
And here's how to enable or disable haptic feedback per key on iPhone.
Related: Where is the Unsend Button on iPhone and How to Use It?