Hiding folders per workspace?

What I’m trying to do

It would be really nice to hide folders based on which workspace I’m in. For example, in my “work” workspace I would want to hide my personal folders and in my “personal” workspace I would want to hide my work folders. Is this currently possible?

Things I have tried

I have been trying to use community file hiding plugins but the ones I’ve tried seem to only have a list of hidden folders that are not workspace-specific. I’m not sure if there is a way to make workspace-specific configurations for plugins?