Yes, devices running iOS 10 or earlier - which includes the iPhone 8 - support AirPods