Yes, you can use WordPress as a backend headless CMS, there is more information here on how to get started.