I am wondering what the legality of installing High Sierra on an unsupported Mac is?
The EULA only specifies that you are authorized to install on Apple hardware. I don't see anything in the EULA regarding supported hardware, that is usually described in end of life notices. For Mac App Store, the terms are:
You are granted a limited, non-transferable, non-exclusive license:
(i) to download, install, use and run for personal, non-commercial use, one (1) copy of the Apple Software directly on each Apple-branded computer running macOS Sierra, OS X El Capitan, OS X Yosemite, OS X Mavericks, OS X Mountain Lion or OS X Lion (“Mac Computer”) that you own or control;
...
(iii) to install, use and run up to two (2) additional copies or instances of the Apple Software within virtual operating system environments on each Mac Computer you own or control that is already running the Apple Software, for purposes of: (a) software development; (b) testing during software development; (c) using macOS Server; or (d) personal, non-commercial use.
If the HW is not supported for the OS Version, you will be prevented, but there are a few hacks out there that allow you to overcome this, as well as installing on non-Apple HW (Hackintosh).
As
@flowrider suggests, Apple only tests and ships with drivers (kexts) for supported hardware. While you may be able to find the drivers for unsupported hardware and get everything to work, there could be issues down the road with system updates, and Apple won't support you in these efforts. So, the headaches might make doing so a challenge that for most will outweigh the limited benefits of the new features.