Not a single measure, but this one must be at the limit of how repetitive music can be while still being interesting (at least for a few minutes, for me): https://m.youtube.com/watch?v=RY26KNRhbOA
On a more serious note -- yes, but even this would become boring quickly despite the variations. This problem has been solved by:
- using different themes for different sections, or
- intertwining two or more such themes for contrast within the same section.
Prime examples of this approach are Beethoven piano sonatas.
I seem to recall I read somewhere that (part of?) the album was painstakingly made using Supercollider [1], but can't find a proper reference.