Not...really. The PS5 has a higher clock which means its yields would also be impacted, just like XSX has larger die size which impacts yield. You could actually state either side is the "better designed" because Sony was quicker to production meaning earlier in line, however Microsoft waited for RDNA2 technology which does mean better future proofing that might be less of a need for "slim" modelling. Really we have two of the best ever console designs manufactured and no real "winner" out of them due to their amazing quality.
the ps5 boost is not the traditional boost of clocking a chip higher, is more flexible depending on load not temperature, thats why yields are not affected, shown by selling more units than ps4. while also being close in power. in reality they traded "size" for these benefits, but the xsx is big compared to traditional consoles aswell while ps5 can be used vertically/horizontaly like a traditional but bigger console.
*edit: the "size" tradeoff could also had been addressed with increased cost. they could have went with dual fans(older patent, mentioned in engineer interviews) to make it smaller but more expensive. also they could make the power supply external and have a power brick, this would also added cost while making the console smaller. however the size was acceptable with savings in production until the slim arrives.