On my ASUS TUF motherboard there is simply an option in the BIOS to turn off the LEDs.
It’s an old motherboard though, bought in 2018, but I would expect the option to be available on new ones too.