can i measure output currant on an output pin

Yes. You need to use a 0.1 ohm resistor (or so) and use another pin to measure the voltage drop across it.
However, NEVER draw more than 40ma from a output pin. 20ma is the maximum recommended.