Can we change the ApiKey- AppId dynamically from iOS after login?

Hello,

We need to use the intercom for our users, but there are customers that want to use their own Intercom for their end users. So, we need to change the api key dynamically depending on the login of the user.

Is this possible, somehow?
Thanks!