@Zeeshan Bute, Thanks for posting in Q&A. Based on my checking, Currently, I didn't find there's such policy in Intune.
Based on my researching, I find we can delete registry key "HKEY_CLASSES_ROOT\AppID{86F80216-5DD6-4F43-953B-35EF40A35AEE}" to disable view WiFi password. You can test on one device to see if it is what you wat. As a reminder, please do a backup before we delete the registry key.
Note: Non-Microsoft link, just for the reference.
If this is what you want, we can write a script to delete the registry key and deploy it via Intune. Hope the above information can help.
If the answer is helpful, 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.