A project called The Infinite Jukebox was started back in 2012 and allowed users to endlessly loop songs at similar-sounding parts, creating the illusion of an infinite song. It works better for some songs than others and often requires you to use the "Tune" feature to make it loop better.
The original Infinite Jukebox went down years ago, leading to "The Eternal Jukebox" being created not long after. Sadly, that tool stopped working in mid 2023, possible due to Spotify API changes.
A few weeks ago, Reddit user davioitu announced that they had revived the project and the tool is now once again available to use.
Here's an example of a basic loop: https://jukebox.davi.gq/jukebox_go.html?id=2pNMoqwpAGDmoLWnn...
If you haven't used it, it might seem weird at first. But I've found that playing the same song on loop rather than listening to albums/playlists is the perfect productivity hack.