Yes, I try to do that but for example sometimes I ask this: I don't understand why this is done like this. I try to understand but then it comes down to system level requirement. So it can be specific or done in a way to overcome some issue. But it is always good to understand in the context to expand your knowledge.
Another thing I ask my self is, how the colleague did this? Why this way? What is the starting point? Could've done in another way? What makes you go to one or other option? Would I be able to do this? But I don't have much knowledge so maybe only experienced people, but then how will I become experienced? Till reaching a point to for example design a complete bandgap generator