A new keyboard feature will be available as part of iOS 17. It will assume that you meant to write what you wrote, and that you really were not referring to waterfowl.
Apple announced an updated autocorrect function that aims to more accurately reflect users’ intended word choices, pleasing customers whose attempts to swear in texts have long been replaced with “duck” or “ducking”
“In those moments where you just want to type a ducking word, well, the keyboard will learn it, too,” - Craig Federighi, an Apple VP