Optocoupler for 4-20mA sensors

nope certainly not, you'd need some kind if LED light that's air tight and safety checked (like miners lights)