HR is one of the jobs I'd say was MOST likely to go back to the office. But in some ways it can be done remotely, it just probably won't be. It is, after all, people focused.
As I work on a government project for hybrid remote working and its future post pandemic, I've seen plenty of analysis and discussion on this.
On the plus side, senior HR roles are one that is most widely tipped not to be replaced by AI!
There are thousands of jobs that are remote, especially now. And, as I'm sure you know, you can ask for remote working as a reasonable adjustment. Not that an employer has to give it if it's not reasonable, just that it could be possible in numerous jobs for that reason on top of the fact many other jobs already are.
I didn't know you were already qualified, but that's not the point.
You said you literally could do no other job than HR. That is simply untrue. You're now bringing in other reasons - I want to; it's remote; I'm qualified. These are all valid reasons. But they don't make "it's literally the only thing I can do" true.