definately - I have one on my D40 right now.
I find manual focus difficult with it, I'll probably swap it for a dedicated MF AI-S version.
At which point you'll lose metering (unless you get the appropriate chip installed).
I'm sure you know this, but I'm posting it for the benefit of others who might not.