Can my optical head be close to an electric field?

Yes. The optical head itself contains no electronic components and is safe to use in an electronic field. However, depending on the strength of the field, it may be advisable for you to have longer head to head cables so that the electronic head can be sufficiently removed from the electrical field so that performance is not affected.