If you are running iOS 4, then yes.
It quite quickly drains your battery though when running. And it'll ring and vibrate whenever you get an IM message, even when you are at your computer chatting and thus aware of the IM conversation going on.
For these two reasons, I personally don't run skype in the background