Since Blender2.8 got "cryptomatte" node it's way more convenient to do any post than Photoshop. Photoshop couldn't even open layered exr files Nuke is too expensive. You could try free up to 2048 pix Blackmagic Fusion or whatever they call it now. Although I didn't tried it yet. Older version didn't have cryptomatte.