The D3000 can use any lens Nikon has made since 1959. (some won't meter, some won't AF, some won't do either but virtually all of them will mount, and can be used to make images.)
So, yes, you can use the AF 50 mm f/1.8D lens on the D3000.
The AF 50 mm f/1.8D lens cannot auto focus (AF) on the D3000 because the lens doesn't have a focus motor in it.
However, the AF 50 mm f/1.8D does send distance information to the camera (that's what the D after f/1.8 means) and when the photographer has manually focused the lens and focus at the selected focus point has been achieved, the camera will turn-on the in-focus indicator in the camera's viewfinder.
So, at worse, manually focusing the AF 50 mm f/1.8D is a semi-automatic operation.
Photographers got by with manual focus for a way longer than auto focus has been around.
Plus, there are some situations where AF just doesn't work, and it's very valuable to know how to manually focus lenses that do have a focus motor in them.