If you you have a companion computer you could hack something together but tbh that is annoying for something easy like this.
This is an interesting thing that I don’t believe is currently possible by just hitting a switch. You would need to reload the mission or manually click on waypoint 1 for it to restart.