Good news for fans of the popular MOBA: yes, League of Legends runs perfectly well on Windows 8 and Windows 8.1.
As long as your PC meets the rest of the game's system requirements—such as a supported processor, sufficient memory, and a compatible graphics setup—you'll be able to install and play without any trouble on either operating system.