Yes, if the pickup is legal and it has capacity.
A moving ship can pick up units from its starting system, the active system, and systems it passes through. Your command token blocks pickup except in the active system.
LRR v2.0 (base game / Prophecy of Kings); specific card abilities may override the general rule.