Can a planet orbit two stars in an "8 loop"?

Like in the picture attached
9 answers 9