If I had a valuable employee that could leave us for 2-6 months a year (without pay), without us having support issues from the absence, I wouldn’t much mind it, and if I don’t mind then HR would never get involved. My employees work for me, not for our HR department. The only time HR processes are forced upon me is in hiring situations, the yearly employee development plan review meeting or if someone logs a serious complaint, like bullying or sexual harassment, and, that’s not because of HR, it’s because the four CEOs have decided those are the organisation wise processes to follow.
If you mean hiring processes, nobody really cares about absence periods in my experience. Sure you’ll be asked, but it’s not like it’s really relevant in most cases. It’s like hiring a young woman around 30 with no children (I work in the public sector where there are fairly good maternity leave plans), you know there is a pretty big chance they’ll have one or two kids while working for you, but if they are good, then you’ll still want them.
Another myth I see spread all the time. HR departments don't care about this. If they ask, it's only because someone told them it's a thing to be concerned about, and they're parroting what they heard. Make something up if you really feel like you need to address it and are afraid to tell them to fuck off. It's a stupid question that doesn't come from any legitimate business concern. In my 30+ year career, I was asked about a brief gap between jobs only one time, and that was decades ago. If a place actually cares about this, it's a good sign that you should find a job somewhere better. If you're really concerned, just leave the dates off your resume entirely, or at least leave the months off. Who cares about this stuff?
There's also this time I had a chat with my manager and peers about whether or not to hire this guy. We wanted to hire him, but we had a feeling he wouldn't stay long with us. He was very entrepreneurial. The conclusion straight away was "it's fine, if he stays with us just 1 year, we already benefit from it". I'm not saying I'm this guy, but it sounds acceptable nowadays.