I was wondering about that. . . There's no way to generate lines between them then?
No. I believe the game simply checks if planet A and planet B are in the same solar system. If they are not, it won't let you jump there.
Only the implicit Star to Star lines, wormholes or manually created lines in galaxy forge can be used to get to a different star system.