That was my first try, but many things were missing from Kirby for what the customer wanted.
You may think of it as: for each page, the yaml contained the React props to render. I d write the the main components, and the user would inject content through yaml as they saw fit.