Hi @Asif Rehan,
SharePoint Server allows for the creation of Document Sets. Document Sets can be created manually or programmatically using PowerShell scripts. However, there is no built-in functionality to create Document Sets in bulk using an Excel metadata file. You can look for help from third-party tool vendors. The tools may allow you to create Document Sets in bulk and update the metadata values of sets using an Excel metadata file.
If the answer is helpful, please click "Accept as Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.