Google has not introduced YouTube for Android Auto due to the fact being people tend to lose their focus while driving. Yet there are situations where the drivers can get entertained just with the audio part while others can enjoy videos on YouTube.
But there are 100% working safe methods which do not require root access to enjoy YouTube on Android Auto. They are,
WheelPal App
Using CarStream
Hardware Upgrade
InCar