How do I build my own recipe with my own Page.php and PageController.php?

Silverstripe Version: 4

I would like to build my own recipe based on recipe-cms. Ideally, it should require recipe-cms as a requirement (So that I don’t have to update every individual package for new SS versions) and add additional files, including my own version of Page.php and PageController.php. Is this possible to overwrite the Page.pgp and PageController.php installed by recipe-cms with my own version? And if so, how?