Hello Gabriela Spalding, yes, you can back up and restore your APIM instance, including users and keys. Here's an article that gets into the details of the steps and the PowerShell Cmdlets/APIs that'll help you achieve the same -- https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-disaster-recovery-backup-restore?tabs=powershell.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.