I didn't know this, but your suggestion actually exists somewhat. I reread @ShirakamiKazuo 's post and tried it out ingame:
If you do /server prison or /server skywars, you get sent directly to that gamemode.
However, this command does not work if you are in the following servers:
- Skywars
-...