Yes, thermoelectric coolers are compatible with vacuum since they have no organics on any material that would outgas. The only restriction would be to not use PVC insulated leads, because PVC out-gasses. Teflon leads and un-insulated wire leads would be preferred.