Yes, once a sensor was revealed with fewer pixels than the rest. This for better light reception and less noise.
What turned out to be pixel binding turned out to be more successful.
That actually resulted in less noise and better exposed photos.
Yes, you don’t take a 100-megapixel photo. But you use the pixel for a better interpretation of that one pixel.
That along with pixel shifting. As a result, you receive information from one pixel at one time and from others at another time.
This results in higher fps with which you can record. Or HDR.
So bottom line, there are more advantages than disadvantages to higher pixel density.
Of course there will be a limit somewhere that it still has a real effect.
Because information that is collected is then even higher