The force of gravity can be eliminated by using a free-fall frame because all massive objects are affected in the same way by a uniform gravitational field. This is not true for electrically charged objects in a uniform electric field.
To see why, we need Newton's second law, $F = ma$, as well es the force laws for a uniform gravitational field, $F_g = mg$, and for a uniform electric field, $F_q = qE$.
The effect of the force of gravity on an object with mass $m$ is
$$ F_g = ma\\
mg = ma\\
a = g$$
The effect of the electric force on an object with charge $q$ and mass $m$ is
$$ F_q = ma\\
qE = ma\\
a = \frac{q}{m} E$$
What does this tell us? If we have only objects with the same ratio of charge to mass (or to be precise, charge and mass density), the situation is analogous to the gravitational case: By performing experiments on these objects only, we cannot tell whether we are in free fall in a uniform electric field or whether there's no field at all.
In a real experiment, all objects having the same ratio of charge to mass is a very unrealistic condition already because most macroscopic things are uncharged. So in practise, we can immediately tell the difference because some objects are affected by the electric field and some are not.
In the electric case, we have one quantity which determines how strong the force is (electric charge) and another quantity which determines how big the acceleration due to this force is (mass). In the case of gravity, oddly both quantities are the same. Noticing this lead Einstein to general relativity.