Yes, but some won't have auto focus. The D5100 for instance only supports AF-S style auto focuses. While older cameras and more expensive ones like the D90 can support AF-S and just AF. The difference is that the motor for AF-S is in the lens, while AF has the motor in-camera.
RAOK CLUB #12
Wabi-kusa Pimp #1
"99% of the time, a fish tank with plants will fail. Once you start a dedicated planted tank with fish, then you begin to succeed." - Geniusdudekiran