Yes, you can. However, you should have the Nikon transfer software installed if you plan on transferring the images directly from the camera instead of a card reader. Also, Apple's Aperture will allow you to tether your camera and view/edit the pictures directly after taking the picture.
Also, make sure you are up to date on your software updates to ensure all necessary drivers are installed and current. This includes Nikon's software as well as Apple's.