No, Selenium is designed to automate web applications and not desktop applications. There are other applications like Winium an open-source automation framework built on selenium, used for automating windows applications.
Want to learn Selenium? Then check out Selenium training by Intellipaat!
Are you interested to know more then check out our YouTube video.