Yes and No.
On default settings, Microsoft Defender SmartScreen can do this, but you have to use Edge or Chrome.
If you download files via any web browser then the file URL is stored in the MOTW and this URL is scanned against SmartScreen. But, this does not work if you download files via the external download manager.
You can also enable Microsoft Defender Network Protection by using PowerShell or 3rd party tool.