Apple Music does not currently support Music Haptics on iPhone.
Music Haptics is an accessibility feature introduced in iOS 17 that provides haptic feedback in sync with the music's beat, but it is currently limited to the Taptic Engine in the iPhone’s built-in Music Recognition (Shazam) feature and doesn’t extend to Apple Music playback.
Right now, if you identify a song using Music Recognition, you’ll feel haptics while it's playing. However, if you play the same song later in Apple Music, the haptic feedback will not be present. Apple hasn’t announced plans to bring this feature to Apple Music playback yet.