Can you take Pre-med classes at a CC instead of a 4 year uni and still get into a good Med School?

While attending a 4 year school to graduation is generally preferable for pre-med purposes compared to transferring, University of San Francisco is not a particularly good choice for many, due to being expensive with not-very-good financial aid (i.e. more debt or less money after undergraduate, not a good thing going into expensive medical school).