I was teaching myself assembly language and C when I was in 7th grade, so sure. If a kid is self-motivated enough then the sky is the limit.
Kids are capable of some amazing things if given the right tools, enough time and plenty of positive reinforcement.