Yes, once you are in to med school, it doesn’t really matter much where you came from. Brains, charisma, and talent are more important. Sometimes the hardest part is getting the interview!
But the hierarchy continues and it is easier to get into a good residency if you went to a good med school; and easier to get into a good fellowship if you went to a good residency… etc etc etc.