Hi there @Rashmika_Lakshan,
It is certainly possible, I've done that myself, albeit at a small scale. The only obstacle, although things have changed recently I think, is the gated api endpoints to add users and their permissions/attributes (more here).
Happy to share any learnings from my experience.