Powering and controlling a relay from an Arduino Ethernet with PoE

Can't you just use a single PNP transistor to switch 5V from the Arduino regulator?