Back in the day (early 80's), my dad spent 2 or 3? years staying at home with my sister and I. My mom was working while he was re-training and switching careers at 40. Training to be a programmer on payroll systems. All mainframe HP Cobol stuff. I think I was around 10. It was great, he was going to class during the day but was there when we came home from school and he taught me to play chess and D&D and we always had computers around so that's how I learned to code because he was learning too. I remember watching him coding a lunar lander program on the C64, which he gave me as a hand me down but it had a modem so I could connect to a local BBS (at 300 baud and typing AT commands by hand lol). Later in life he said that was one of the happiest times of his life. Maybe it's harder to pull off that kind of gap now because we are all so focused on overachievement and never being human but he didn't even start working as a programmer until he was in his 40's and had steady work until retirement.
Anyway, in my experience my dad took a few years to do that kid stuff and it really had a positive effect on our relationship.