Did you mean that the Glock's polymer frame is the only part with the serial number?
There are 3 matching serial numbers on a Glock, one on the barrel, the slide and the polymer frame.
Perhaps I misread what you meant.
You can buy a replacement barrel and slide without needing to go through FFL paperwork and background check.