NFL testing high-tech optical tracking to measure first downs

Hear me out, crazy shower thought here.
2 chain gangs on either side that have sensors that line up across the field at the first down end of the markers and a chip in the ball that can trip the sensor.
They turn red when aligned, green when triggered by ball, no light when misaligned.

Do we have the technology? Would a forward pass over the first down marker be too much of a variable to overcome?