Hi Filipe,
Currently, it's not possible to manage application's "Access Restriction Profiles" via an API. I don't expect this on short-term either, because this heavily depends on where the application is hosted:
If you want to have more advanced access control options, you could consider something like an API Gateway. This is available at all cloud infra providers like AWS and Azure.
Good luck!