Yes, you can use a set of headphones with an impedance rating of 8 ohms on any Macintosh computer with a sound out port.
The lower impedance will not cause any problems for the computer or the headphones. However, the audio heard through the 8 ohm headphones may not be as loud as the audio you would hear through a pair of higher impedance headphones.
Support Information Services