The other answer is correct that Olimar and Alph's hurtboxes are the same.
When looking at Olimar vs. Alph, it's important to note that Olimar's hurtboxes themselves aren't actually perfectly accurate to the character model. The translucent bubble around his helmet is his actual hurtbox:
From the shape, it should be apparent how it's slightly 'looser' around the character model in a way that would allow both his and Alph's appearance to be shaped to fit within it. SSB is always as a series that's played slightly less accurate with hurtboxes and hitboxes when necessary, often leaving out things like hands, feet, or tails without hurtboxes, or conversely having a hurtbox that extends slightly past the character's actual body.
While it's slightly noticeable in stills or gifs, I've never felt to affect the actual play and, while I'm not a pro player by a long shot, I've never seen the community take issue with that aspect of the characters either. General consensus seems to be that they're close enough to feel fair.