IIRC, Lyndon Johnson was sworn in on an airplane.
Yes LBJ did take the oath on the plane. (It obviously was not planned that way — the widow Kennedy had to stand sideways to hide JFK’s blood on her dress from the cameras—... and it was not done in secret... it was broadcast coast-to-coast and press pictures were also distributed.)