A lot has changed about Motorola and it's devices since they were acquired by Lenovo in 2014. One thing that hasn't though, apart from the brand name, is that Motorola devices are still developer-friendly. The company allows users to unlock bootloaders on their website. They also don't go out of their way to add extra layers of security to make third-party development any harder. It's the same with the Motorola G7, launched in March 2019. You can already root Moto G7 and install TWRP on it.