You totally can. VW's emissions cheating scandal was about the ECU firmware tuning the engine for lower emissions when it detected an emissions test and then switching back to tuning for performance the rest of the time. No reason you couldn't do the same but based on location.