Yes. Any effect that moves a ship allows that ship to transport units in its system if it has available capacity.
The official FAQ states that units can be picked up and transported off of planets when using abilities that move ships, such as the Skilled Retreat action card or the Foresight faction ability, as long as the ship has available capacity.
Official FAQ (LRR v2.0). Use the cited official wording or card printing; do not mix replacement / Omega / expansion versions.