You can “fly” an aircraft while in diapers. . .but it can’t be solo nor can you log the time.
Yeah not much requirement for sitting in the seat and handling the yoke for a while...