Yes, it is legal to build your own airplane and fly it. However, you must meet certain requirements set by the Federal Aviation Administration (FAA). You will need to obtain an Experimental Aircraft Builder's Certificate from the FAA in order to construct your aircraft.