Can you paint a crib?

Ca
My husband and I are receiving a free crib for free from a friend. Unfortunately we just received a picture of it and it's dark brown. Basically the last color I wanted for a crib. 
Here's my question...can you paint a crib? Has anyone had any experience with this? I've painted furniture before (and probably will with the other pieces in the baby room) but I'm not sure about painting a crib since the baby is going to be putting its mouth all over it.