And there can only be very few browsers because of all the features they have to bit-perfectly support. Even Microsoft gave up and ceded their power to Google - Windows comes with repackaged Chrome.
Back when a web browser meant parsing tags and deciding where to place floating images, you could reasonably write your own. Now there's just too much of it. Even without JavaScript.
That was pre AI. Nowadays lots of browsers popping up with AI guidance like Ladybird and Blitz, both of which have experienced developers leading them rather than AI slop.