Yes, you can have one version of moon and one of sun installed at any one time. You cannot have, for example: Moon (clean), Sun (clean), Sun (hacked) without altering one of the Sun keys.
Keep in mind that deleting Sun to install the hacked version will also delete your Sun save, so if you want...