can i measure output currant on an output pin

rossc:
all the devices on the circuit will require mosfets and relays its a 24vDC system. i only what to know if its possible for diagnostic fault logging purposes.

"can i measure output currant on an output pin" doesn't make much sense if you switch loads with mosfets.
A mosfet gate does not use any current from a pin (except during switching).

I understand you want to measure some load current that is switched with a mosfet.
Then measuring the voltage across a current sense resistor with an analogue pin could work.
Post a diagram.
Leo..