Not quite. You can earn every car that is available to win, but some vehicles are neither for sale nor winnable and therefore cannot be obtained.
Gran Turismo 2 separates its roster into cars you can buy from the dealership and cars you have to win through events, licence tests, and endurance races. Completing everything gets you the full win-eligible set, which is the large majority of the list.
A handful of entries exist in the game's data without any legitimate route to acquire them. They were either cut, reserved for events that never appeared in the final release, or included for other purposes. No amount of racing unlocks them.
The practical goal is 100 percent completion of the events rather than the showroom. Working through the endurance races is the long part, since some require over an hour of continuous driving, and the licence tests gate a good deal of the rest.