Yes, it is necessary to install the microG app on your smartphone to use YouTube Vanced APK and all its free services. You can install it from the Vanced Manager for free.