It is not possible to fly to planets in game. Planet-based activity is only possible in plot-related events of X²: The Threat and X³: Reunion. It is only possible to fly into planet atmospheres, though this will result in the ship's destruction.
