Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
You can have two Azure virtual machines: a Spot VM and a Pay-As-You-Go VM. Although Azure doesn't offer a built-in feature to automatically start the Pay-As-You-Go VM when the Spot VM is deallocated, you can use other Azure services like Automation, Functions, or Logic Apps to monitor the Spot VM's status and trigger the Pay-As-You-Go VM to start when needed.
If you have any further queries, do let us know.
If the answer is helpful, please click "Accept Answer" and "Upvote it."