You may use the /w, /whisper, and /msg commands in any version of Minecraft Bedrock Edition. These are the default commands. In addition, the owner of a Minecraft realm has access to all of the private communications sent inside the realm. This completely undermines the value of having the ability to send and receive private messages in the first place.