They do this at my local hospital at least. There is a plethora of colours for different staff roles. I understand this is not consistent across the whole NHS but in general the principle is mostly followed. eg, see
https://www.workwearexpress.com/blog/NHS%20Uniform%20Colour%20Codes