Back in the 1970s many ran the Boston Marathon without registering. But if he ran it legitimately, then his time and entry was recorded and archived.
IIRC: To run it unofficially you wait for the initial crowd of serious runners and registered runners to make their start. Then you go.
I would never run a marathon unofficially. I still have my numbers, medals, etc showing I participated and finished.