Custom keyboard extensions have to jump through hoops to open URLs, in order to open the main app. Once in the app, the only two ways to navigate back to the keyboard are actively rejected by Apple. Read more on the broken keyboard navigation in this post.
https://keyboardkit.com/blog/2024/01/31/how-to-not-navigate-back-to-the-keyboard-from-the-app