Your kid is 7. I'm pretty sure hat I was eating dirt when I was 7. If he has showed you he's interested in programming then go ahead, but make sure you're not projecting your own interests onto your kid. It'll lead to resentment in 7 or 8 years.
Meh. My kid will leave the house able to program at the pro level. If they resentment me and open a bar more power to them. If the bar fails and they need to program to make ends meet - great. If I was a plumber, my kids would leave my house a certified plumber. If they want to be a lawyer instead - more power to them. Either way my kids leave with a skill.
So as long as one isn't forcing a skill exclusively, and isn't resentful when the skill doesn't stick, I'd say this is a wise approach.