Yes it's proprietary and depends on a lot of Google services. Usually if you want it on a custom ROM, you need to use the full GApps packages. No Android Auto on smaller GApps packages.
microG doesn't work on GrapheneOS, because it requires root privileges for basic functionality. The Sandboxed Google Play implementation in GrapheneOS is far superior.