Migrating site to headless CMS

I have created a site without a headless CMS. Is it possible to migrate it to a CMS environment without rebuilding it from the ground up?

Sorry if this is a stupid question. I’m still getting a feel for webdev

Closing this as a duplicate of your other question, please reply back there with further questions :+1: