There are some useful tools in Stellaris that aren't exactly well advertised, that people might not know even when they've put in the hours!
Here's one: you can restrict a system so that your ships automatically path around it and not, say, directly into the leviathan. It's a button on the bottom of the screen in the system view.
Here you go! https://i.imgur.com/EAvxpL4.png
The button only shows up on systems you don't own.
Thank you ๐