Maxwell's equations are a set of fundamental equations in electromagnetism that describe the behavior of electric and magnetic fields. They were derived by James Clerk Maxwell in the 1860s and are considered to be some of the most important equations in all of physics. The equations show that electric and magnetic fields are intimately related and that they can propagate through space as electromagnetic waves, such as light.
Regarding your question, it is true that the behavior of electrons in atoms can affect the propagation of electromagnetic waves, such as light. However, this effect is already accounted for in standard electromagnetic theory, which includes the fact that the speed of light in a medium (such as water or air) can be different from its speed in a vacuum. This is described by the refractive index of the medium, which is a measure of how much the medium slows down the speed of light.
To show the difference between the theory you described and standard electromagnetic theory, one possible experiment would be to measure the speed of light in different media and compare it to the predictions of the two theories. For example, you could measure the speed of light in air, water, and glass, and compare the results to the predictions of both theories. If the theory you described predicts significantly different values for the speed of light in these media compared to the predictions of standard electromagnetic theory, then that would be evidence that the theory you described is different from standard electromagnetic theory.
However, it is worth noting that the behavior of electrons in atoms is already accounted for in standard electromagnetic theory, and the theory you described does not appear to offer any significant improvements or differences compared to standard electromagnetic theory. Therefore, it is unlikely that such an experiment would show any significant differences between the two theories.