How could we implement SCIM for Frappe?

SCIM is a way to maintain the identity of users. To support it, I need to enable two endpoints “/Users” and “/Groups”. With 4 HTTP verbs: GET, POST, PATCH, and DELETE.

Is there support for SCIM in Frappe? or, Is there a way to add custom endpoints(“/Users” and “/Groups”)?