Hi
Thanks for reaching out to Microsoft Q&A.
While this may be done for small datasets, I am not sure how successful and easy this would be to implement when it comes to converting huge amount of data. I have found some links that had discussed about such requirements, you can go through and see if it works. I know these might not be a ready to implement solution but can guide you to the right direction.
[https://stackoverflow.com/questions/8849571/relational-to-nosql-database
[https://learn.microsoft.com/en-us/azure/data-factory/connector-azure-cosmos-db?tabs=data-factory
Same requirement was discussed by mongodb in a webinar.
[https://www.mongodb.com/presentations/webinar-transitioning-from-sql-to-mongodb
Please Upvote and Accept as answer if the reply was helpful, this will be helpful to other community members.