Yes, as long as low VOC materials used. Care must be taken so that the materials do not get on the sensor. To protect the sensor when coating is applied to the PCB, use Kapton tape over the package cavity to protect the sensor. With Kapton tape, care must be taken so that coating does not get under the tape and dry. This will peel the protective cover away when the tape is removed. The boards should be cured in a well-ventilated area after. After curing, compare conformal coated boards to a non-coated board to check for accuracy after coating process. Some assembly shops may use a paper cup similar to how masking tape is used to prevent paint from getting in the wrong place. The cup is placed inverted to cover over things that shouldn’t get the conformal coating on them.