I do and have tacoed a probe on the outside of a heat mat and it does not cause any problems as long as you set the thermostat for the temp you want inside the enclosure.
In that situation you dont want the colder room air changing the reading of the probe.