A plain Lineage install will include "rooted debugging" in the developer options.
This is separate from the Magisk root app.
I don't believe using the ADB root functionality is problematic. The Magisk app also has a hide mode.