You can through any projectiles outside world border, yes you may already know this, but you can through an enderpearl into water and there is no chance getting back out since you are stuck inside of a block.
Linked issues
Comments
Thank you for your report!
We're tracking this issue in MC-53602, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as working as intended, which means this is not considered a bug and won't be fixed. Please do not leave a comment on the linked ticket.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Duplicate of MC-53602, which is working as intended.