I can only speak for myself. When my wife and daughter go to bed, I can stay 2 hours coding;reading or watching videos which improves my skill.
The truth is that when you have a newborn it is impossible, nut once they grow (more than 2 yo), it is completely doable. Of course, you will feel tired some days and just watch a movie, but trying everyday helps.