I wouldn’t go as far as to say the writers of the canonical gospels were unknown, someone must have known them.
There are indeed many other gospels known as apocryphal including Thomas and James. The word apocrypha means of dubious source, so the early church settled on the four that we know.
Oh and Joseph was not an Galilean but a Judean even though he lived in Nazareth so was required to go to Bethlehem in Judea.