Hello @MK,
Yes, the OAuth Client Credentials Grant flow is available for custom applications too (created using option "Integrate any other application you don't find in the gallery (Non-gallery)").
Refer this Microsoft Document: Tutorial - Develop a SCIM endpoint for user provisioning to apps from Microsoft Entra ID - Microsoft Entra ID | Microsoft Learn
If this answers your query, do click Accept Answer and Yes, if you have any further queries do let us know.
If you have any other questions, let me know in the “comments” and I would be happy to help you.