I work from home part time in order to take care of my daughter. We're much farther away from FIRE, about 15 years, partially because I'm only part time. That number may go down when my daughter is older and I can take on more hours. But it's been such a great balance for me between completely being a SAHM or full time day care. My husband also worked from home a good bit while she was 1-2 years old, so that was wonderful to have him around for those years too. We did do preschool before COVID hit, and that was great for her socialization and it gave me a break/time to work more. Next year she should be back in school for first grade and I'm planning to pull more hours at my current job then. Then when she's old enough to be home alone, I'll consider working full time, though I'm not positive on that.
Is your current job something you could do from home? Or switch to part time, even in person? If you're worried about your skills atrophying, that's probably what I'd do. My mom went back to work after a long break to be a SAHM, and it wasn't easy. She eventually went back to school to get her nursing degree after a few years as a TSS worker, even though she already had a bachelors. Plus, I've found that working some helps provide me more structure to my day, though you may not have trouble with that.
Also, I do think there's value in having a SAHP at any age. When I was in high school, my mom started working again, but my dad switched to WFH. It made me feel more secure to know if I got sick at school or something it was easy for him to pick me up. I also did a ton of activities, so I think a flexible work schedule/being at home helps with that too. So if you choose to stick out the next 5-7 years, if your child is still at home, I think they'd benefit from you being at home.