I belive so, yes you might be able to. I might be wrong, but if I am, you would have to do that by running the app called "Run" on windows, and type this in: %appdata%. (without the period) Then you click on .minecraft, or minecraft. idk which one it is. Then chose the file u wana open, and boom, ur done.
Didn't you read what I said earlier? you can indeed change files by commands if you add or remove people from a whitelist, it's called the json file. This is true for both Java and bedrock editions of the game.
If you're playing in survival mode with cheats disabled, then you'll need to use terminal or command prompt to do this.
Also with cheats, using teleport or the tp command to change your position on the world effectively edits the world file.
Changing the difficulty edits the properties file, changing gamemode does the same,
There are many ways commands can be used to edit files.