@Vij Thanks for posting in our Q&A.
Currently, there is no method to select the device category based on the OS automatically. We still need to select it manually.
If you are interested in this feature, it is suggested to post in intune feedback portal. It is a place to collect customers' requirements and problems. Here is the link:
https://feedbackportal.microsoft.com/feedback/forum/ef1d6d38-fd1b-ec11-b6e7-0022481f8472
Hope it will occur in the feature.
If the answer is the right solution, please click "Accept 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.