Change the iam role for aws auth method during restore

We use OSS vault with RAFT, Want to restore from a backup and while restoring can we change the vault auth enable aws with an iam role?

Use case: Vault backup in one account and restore in different account with different IAM role ?

Any reconfiguration of auth methods or secrets engines is something you would do separately after finishing the restore.