I seem to encounter the following theory regarding piyyutim fairly requently:
The piyyutim were originally composed as replacements for the fixed texts of the various blessings in the prayer service.
(see e.g. the lede of this Hebrew Wikipedia article)
What are the earliest sources (both rabbinic and academic) to explicitly state this theory? And what are the main pieces of evidence that those early sources use to support this claim?