Is it possible to change sRGB/Non-Color color space procedurally?
You can switch between Linear/sRGB color space with a Gamma node.
I learned it from this Andy Burrows' article. No idea how it works though :) 

Use Gamma: 0,454 to transform sRGB to Non-Color
Use Gamma: 2,200 to transform Non-Color to sRGB