Is it possible to add an hidden map select screen, through an editable code?

I want there to be a hidden map selection, which can be entered by a code that can be editable. In that hidden map selection, you can select the map you want, with the game progress already advanced. Can it be done?
yes

however, most people simply add a cheat item, with a common event that teleports to the cheat map near the game start, and then delete it before distribution.

If you want a code-protected item or event, there should be several tutorials (including in the official blog) on how to use a change actor name event command with a fake actor to set a password.

That passwort would be stored in that event and would need to be changed there.

For something more like a hidden console you'll need a plugin as that does not exist by default in eventing.
The source code for your game is in the js folder, so any question that starts with "is it possible" will always be answered with "yes." It's more useful to ask how hard something is, whether there's an existing plugin, or if someone knows how to do it.

How are you entering this code? If you're talking about something like an old console game cheat code where you're just pushing buttons on the title screen, that would be a moderate bit of work.

RPG Maker is not designed to register any key presses except those defined to do things in the game - and those are mapped as internal terms, not what their actual keys are.

If you do something like use the name input processing to input text then check the name of the actor in a conditional branch, that's quite simple.

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-add-an-hidden-map-select-screen-through-an-editable-code.169575/