It is unlikely, but not impossible.
Why
Rope fish are much larger and prefer worms, insects, and crustaceans. They also favor cooler water than zebra danios.
Individual aggression or cramped tank conditions could lead to predation, so it is best to keep them separate.