So strictly speaking you can have root through purely first-party, open source, AOSP tools exclusively. It does, however, require doing a full build & flash yourself. That process is at least documented, though, so there's that. Just think of it like Gentoo
You certainly have access to a lot of things with adb, but it can hardly be considered root on non-rooted devices.