Not stock root. Needs an unlocked bootloader and a custom ROM.
How-to
How to
Unlock the bootloader and install custom firmware (postmarketOS and Mobian). postmarketOS status: main.
Follow the specialist sources linked on this page. If this path is a jailbreak, unlock, or flash, the specialist wiki is the how-to — we do not copy those steps here.