Yes-ish, if you know you have white text on a black background or vice versa:
One other option would be to use a grab pass shader. This will likely be noticeably more expensive than other options, but would let you blend the grabpass color value in sRGB space.