If what @Rhiassuring suggest will not work, I have handled this by taking advantage of the Mail Tips action. This action will tell you if the specified user has set up out-of-office (OOO) notifications. If they have, you can have your workflow send the approval to an alternate.

The expression in the condition to check if the OOO has been set up is:
length(body('Mail_Tips')['value'][0]['automaticReplies']?['message'])
I use a string variable to store the e-mail address of the approver. When I initialize the variable, it is set with the intended approver. Then it gets updated with an alternate if the OOO check finds the person has it set.