You can. Make sure you size the base resistor to limit current from arduino to 30mA. ATMega328 used on Arduino has a 30mA max sink or source.