Because the MediaPad M5 Lite supports Project Treble (out of the box with Android 8), you are not limited to device-specific ROMs. You can flash builds of Android 12, 13, or even 14 (using phhusson's AOSP builds).
: Can be achieved using Magisk by patching the ramdisk.img once the bootloader is unlocked. The Bootloader Challenge Huawei Mediapad M5 Lite Custom Rom
After searching XDA-Developers, 4PDA, and Telegram groups: Because the MediaPad M5 Lite supports Project Treble
Here’s an in-depth answer regarding (model SHT-AL09 / SHT-W09). Huawei Mediapad M5 Lite Custom Rom
LineageOS is the successor to CyanogenMod and is the most mature option. For the M5 Lite, the unofficial build by recognized developer surdu_petru on XDA Forums is the leader.