What would be magical about 12 or 24 volts that leads to an efficiency gain?
(though I'm not an electrician, I'm just guessing)
At smaller scales? Absolutely. You'll find them in almost every enclosed vehicle in the USA at various sizes.
In traditional ICE cars it's belt driven off the engine. There is no electricity e involved to rotate it, just to engage a small clutch.
Edit: AC has advantages in transmission over distances, but if you're looking at both solar panels and AC units on the same roof distance is probably not a major factor.