Can I develop self-API such as app login / registration?

Can I use Squidex to develop self-API for custom purpose such as app login / registration by the following way:

  • Create Schema from Squidex CMS (app user table)
  • Create app user and password to the table
  • Pass API request from Mobile App to Squidex (eg. Login API)
  • Do business logic, verify identity, generate app token associated with the app user account and store in database
  • Return API response to mobile app

I am newbie to headless CMS and would like to know the capability and how those could achieved. Thanks!