The oil pan spacer is thick, and for that reason it would not be a good idea to put an oil temperature sensor in it. Because the sensor probe is so short, it would be sitting in the cavity of a thick oil pan spacer, not giving an accurate reading.
If you are to use a long temp sensor probe like the one below, then all is good: