A main street would often be called the High Street, and as a matter of course, official buildings would be built on or around it, but I don't think it is compulsory.
It's a similar myth to the idea that all cities must have a cathedral - most do, but the Royal Charter decrees City status, not a cathedral.