Yes. And doing so increases the height of the plug above the head by the amount equal to the thickness of the sensor ring - it also results in the business end of the plug under the head being not as far into the combustion chamber as without the sensor, by the same amount. Usually, neither poses a problem.