Auto-create invisible subpages

Hi Folks. Do you habe any suggestions how to solve the following requirement?
I have a subfolder (page not visible in the nav) on the root level of a website. Inside is a text file with a simple “header”/“text” (kirbytext) - structure. I´d love to define variants of some words and let Kirby auto-create pages from that. For example:

This is a awesome|great|wonderful headline

Lorem ipsum foo1|foo2|foo3 dolor sit amet.


Thanks, your kind help is very much appreciated. Cheer Dennis

I’d use a hook, some regex voodoo and the $pages->create() method.