Yes, these cases exist.
In fact, I was telling @princessbusayo about an hour ago, a situation like that here. Curiosity and self drive can supplement and overcome adversities like the ones you’ve mentioned.
But the rule of thumb is that under ideal situations, many things influence the academic success of students.
Oh alright