Can I pair an Apple Wireless Keyboard with multiple iOS devices (not simultaneously) without "forgetting"?

I just want to be able to change my Apple Wireless Keyboard (the most recent) between my iPhoneX and my iPad Pro without having to forget the last device used.
Both iOS devices use the latest version of iOS. Not sure that this is inherently possible, either by application or by hacking.