Using any of the pre-CASC versions, it should be possible to override campaigns by just replacing map files, but you will probably have to consider war3patch.mpq as well (and possibly just it) as a destination for your custom mapfiles IFF you want to modify mpqs, which I highly discourage.
Back to the first post, this is not illegal afaik even when changing the MPQs, but unless 1.24 worked differently, you should be using Local Files.
On Windows, local files first have to be enabled by going into the registry and creating a registry entry of type DWORD called “Allow Local Files” in “HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III” and setting its value to 1.
Then you would create the folder structure inside of the main Warcraft III folder on disk and place the map inside as if it were the MPQ