Depends on the specific car (and frequently the trim level, as well). A lot of manufacturers have tightly integrated infotainment and you can't do a retrofit if nobody makes the right trim panel to allow it. Gone are the days when everyone used DIN or 2DIN.
(I wish it were easier to retrofit in my 2008 Camry...)