There’s something to this. I’ve noticed an increase in heart rate, possibly a sympathetic reaction with the effect of pumping more blood to the brain? In any case it is not long before beat fatigue sets in and my mind is worse off.
This happens to me with higher BPM music e.g. drum & bass or techno, but with lower BPM and a little melody (but no voices) I can listen for 10-12 hours while coding without beat fatigue.