usb connection mode – android tv box in car


I have an android tv box runs at android 7 output comes via HDMI port.
I want to change or make a modification to this tv box and install android auto and connect it to my car usb instead of using my phone. Is it possible to make such a thing and how?

I am totally new in Android programming.

Best Regards