> Isn't that the central insight behind the Fourier Transform?
Depends on how central you want the insight to be.
The Fourier transform idea works in domains other than nice functions on the real line. Consider Hadamard-Walsh transforms of digital signals. No sine or cosine waves there but they behave very much the way a Fourier transform is expected to behave. So why does the space of digital signals admit such Fourier like decompositions ? The answer to that is in the comment that you are responding to.
Group theoretic invariance is the vital underlying pattern that makes Fourier transforms possible in various domains and is the common thread that ties these different Fourier transforms where they are not the usual sine and cosine waves. It is simpler if the group is commutative but can work on non commutative groups also