If two aircraft attempted to dock in mid air, I’m thinking the air flowing in slipstreams from one aircraft would disrupt the airflow to the wings of the other.
For lots of reasons, it would be a very dangerous maneuver. However, could it be done using aircraft designed for the maneuver? I’m thinking the flight control software would have to be specially designed to compensate for the changing airflow as the two aircraft get close to each other, and you would need control surfaces that could adjust configuration rapidly as the aircraft near each other.
I know there’s pilots and aerospace engineers on here who must be jumping to answer the question! This fictional scenario was shown in the movie “Executive Decision”, and Agents of Shield did this as well in a recent episode. Here’s a screenshot from the more recent episode for a visual aid.