You can buy all those parts online without registration. The only thing you can’t buy is the receiver, which can be manufactured at home very easily. That’s the part that houses the trigger and connects the barrel, etc.
Obviously, the more advanced the gun gets, the more difficult it is to make, but a single shot could be made with stuff from the hardware store.