Keep session after account linking


We have a scenario where we allow users to sign in with OTP or Social.
If a user has an existing account during sign up we perform a server-side Account Link with the management API.

We would like to merge the current account (secondary) into the existing account (primary) - when this occurs the secondary account is deleted and refresh token becomes invalid. Is there a way to continue the session from the primary account that now has two identities?