I believe it is highly likely. The Buddha could see into the future and would have realised just how important Sri Lanka would be in the preservation and proclamation of the true dhamma, vinaya and abhidhamma.
It wouldn't have been a difficult feat - for the Buddha or his realised great disciples. No more difficult than walking into another room.
"Again, Udayin, I have proclaimed to my disciples the way to wield the various kinds of supernormal power: Having been one, they become many; having been many, they become one; they appear and vanish; they go unhindered through walls, through enclosures, through mountains, as though through space; they dive inand out of the earth as though it were water; they walk on water without sinking as though it were earth; seated cross-legged, they travel in space like birds; with their hands they touch and stroke the moon and sun so powerful and mighter; they wield bodily mastery even as far as the Brahma-world; ....." MN 77.14 Mahasakuludayi Sutta The Greater Discourse to Sakuludayin
I know there was mention of disappearing from one place and appearing in others to talk to disciples in some suttas - one of whom was killed by a cow shortly afterwards - can't think of the exact one at the moment.
---The trouble is that you think you have time---
---Worry is the Interest, paid in advance, on a debt you may never owe---
---It's not what happens to you in life that is important ~ it's what you do with it ---