Yes, if the iPhone 17 does indeed have a USB-C port, these earbuds will work for listening to music. Apple states that USB-C EarPods require an iPhone with a USB-C connector, and that this connector enables audio with wired USB-C headphones.
They are not wireless and do not have noise cancellation.