I saw an adapter might make it work for vehicles already supporting wired connections:
https://www.indiegogo.com/projects/aawireless#/
I am not affiliated or even saying it actually works. I just saw it posted on xda developers the other day. https://www.xda-developers.com/aawireless-dongle-enable-wire...
Right now there's only BMWs that support wireless Android Auto, so your Subaru unfortunately almost certanly doesn't have the required wireless capability in infotainment.
This is the feature iam looking forward to the most. But I don't think it works for my subaru crostrek 2019 even though its a compatible vehicle.