In electromagnetism the Coulomb force F=q1q2/r^2, the Lorentz force F=q(E+νxB), are computed treating spacetime as flat, and we are measuring what is actually a macroscopic phenomenon, not at the microscopic level. But this does not mean that the principle fails completely at the microscopic level.
Consider particles with mass such as electrons, which should have both electromagnetic and gravitational forces (we cannot rule out the validity of GR at tiny masses). Looking at an electron from the outside, it expresses electric field, magnetic moment, and mass. The Stern-Gerlach experiment fully expressed these covariates [1]. The electron involves only 4 factors, time t, space x, electric field E, and magnetic field H. We express the electron in the set e={Δt, Δx, ΔE, ΔH}, where the elements are all variables. This then implies that the external electromagnetic force, gravitational force, and mass, should all be able to be described by these components, since we can only act on the electron through these components.
Mass then could be exclusively electromagnetic mass [2][3], me={Δt, Δx, ΔE, ΔH}, regardless of the mechanism by which it is produced [4]. The electric field force can likewise be expressed only in terms of Fe=α{Δt, Δx, ΔE, ΔH}, and the gravitational force in terms of the set Fg=G{Δt, Δx}. Obviously, this is their simplest expression.
We need not consider what the electron is. It can be inferred from the set that its electric and gravitational forces overlap, since they share the same part of spacetime expression. This can also be seen by comparing Coulomb's law with Newton's law of gravity. As for neutral massive particles, they can be regarded as cancelling out the electromagnetic field [5] leaving only the Fg = G{Δt, Δx} part. In this way, the gravitational force is naturally unified to the electromagnetic force, and they are coupled together by the spacetime {Δt, Δx}, and automatically incorporated into the gauge field theory; the 'graviton' can be regarded as the spacetime product of the 'photon'. As for gravitational waves, they can be regarded as a part of space-time detached from accelerated motion, like electromagnetic waves radiated by accelerated electrons. This is exactly what Poincaré envisaged [6].
"After Einstein developed his theory of general relativity, in which a dynamical role was given to geometry, Herman Weyl conjectured that perhaps the scale of length would also be dynamical. He imagined a theory in which the scale of length, indeed the scale of all dimensional quantities, would vary from point to point in space and in time. His motivation was to unify gravity and electromagnetism, to find a geometrical origin for electrodynamics. [7, 8]" Wouldn't Weyl have been right if, instead of searching for a geometrical origin of electromagnetism, he had searched for an electromagnetic origin of gravity? Wouldn't electromagnetism be equally geometrical if one considered that the electromagnetic force Fe = α{Δt, Δx, E, H} is essentially the same as that resulting from variations of {Δt, Δx} therein?
-------------------------------
References
[1] Schmidt-Böcking, H., Schmidt, L., Lüdde, H. J., Trageser, W., Templeton, A., & Sauer, T. (2016). The Stern-Gerlach experiment revisited. The European Physical Journal H, 41(4), 327-364. https://doi.org/10.1140/epjh/e2016-70053-2
[2] Thomson, J. J. (1881). XXXIII. On the electric and magnetic effects produced by the motion of electrified bodies. The London, Edinburgh, and Dublin Philosophical Magazine and Journal of Science, 11(68), 229-249.
[3] What is Mass? Must the Hierarchy of Mass be Determined Simultaneously by the Origin of Mass? https://www.researchgate.net/post/NO45_What_is_Mass_Must_the_Hierarchy_of_Mass_be_Determined_Simultaneously_by_the_Origin_of_Mass
[4] Higgs, P. W. (2014). Nobel lecture: evading the Goldstone theorem. Reviews of Modern Physics, 86(3), 851.
[5] The Relation Between Mathematics and Physics (2) - Is the Meaning of Zero Unified in Different Situations in Physics? https://www.researchgate.net/post/NO26The_Relation_Between_Mathematics_and_Physics_2-Is_the_Meaning_of_Zero_Unified_in_Different_Situations_in_Physics
[6] H. Poincaré
[7] Straub, W. O. (2009). Weyl's 1918 Theory Revisited. Pasadena, California. Disponível em: http://www. weylmann. com/revisited. pdf.
[8] Gross, D. J. (1992). Gauge theory-past, present, and future? Chinese Journal of Physics, 30(7), 955-972.