Not possible IMHO due to landing gear interlock
True if the aircraft had weight on wheels but the gear could have been retracted just prior to ground contact or just after becoming airborne again. Airbus procedure is not to retract the undercarriage during a wind shear encounter as the initial drag penalty is significant. I’m not suggesting W/S was a factor, just using the procedure as an example of the drag retracting gear creates on the A320.