the current sense, at least, is done with a hall effect sensor. So that part should be isolated. The rest... maybe not.
I'd never thought of an optoisolator as a linear component, but, I'll definitely look into that
come to think of it, I'm planning to use filtered PWM to set the voltage and current levels, and an optocoupler can pass PWM. So, I think the threshold setting, and reading the output current is doable. It's just reading the voltage output that I need to think more about.