Switch between two profiles with script?

AFAIK there is no function currently in Kodi to map to a specific zoom level for video. You can use a keymap to program remote buttons to ZoomIn/ZoomOut. You could also make it a macro by using the method in this thread.