Downloading from Microsoft is legal. Downloading a modified "lite" version is a violation of the EULA but rarely prosecuted for individuals. Distributing it is copyright infringement.
Before you click any download button, understand the three types of compression in the Windows world: download windows 10 iso highly compressed