Yes, you can do that. Here is one example. http://arduino.cc/forum/index.php/topic,8664.0.html Also look up Charlieplexing.