Main menu is outside of the game state - no mod-related code runs at that time, replays cannot be recorded, and generally things work... differently. I have briefly evaluated doing this when starting to integrate modding support, but it could have too many side effects to make it a worthwhile development. You can totally replace the character selection with custom menu(s) and set that up to load via startup.txt though.