I would answer with a qualified ‘yes’.
A young person has a soul, the seat of the will, the intelect and the memory, so has a limited but existing ability to respond to the love of God. I would not say he has the ability to make a fully informed choice for Good or Evil, I also think some people never reach that stage even though they grow to adulthood.
To be condemned to hell, requires a mortal sin. To be allowed entry to heaven requires a baptism (either water, desire, or blood). And this is what leads to the theological speculation on the final end of the unbaptized children.