As they were already designing a new case and internal arrangement to accommodate the landscape FaceTime camera, I’m sure they could have come up with something. I just did this in 5 minutes:
View attachment 2106793
Sure, it would take extra resources to add the Pencil 2 connector and move the speakers and buttons, but there would be savings of resources in not needing to move the smart connector and not having to design a dongle and an entirely new keyboard folio.
Edit to add:
Pencil 2 is 6.53 in/166 mm in length
iPad 10 short edge is 7.07 in/179.5 mm in length