In the past, a few developers tried to create a minimap for the Bedrock Edition and MCPE. The work on it has unfortunately stopped. As an alternative, you can turn on the coordinates and take a screenshot at nice places to find them again. This is of course a bit more cumbersome, but currently, the only solution is to get VoxelMap for Minecraft Bedrock.