Not quite. If by “edge” you mean the surface of the earth, then the force of gravity from the closer edge will always exactly offset the gravity from the farther edge. So if the earth were hollow, then you would experience zero gravity at any point in the hollow portion.
Of course, the earth is not hollow. And any mass under you (i.e. closer to the center than you are) will not be offset, and all of it will pull you towards the center. As you move further away from the center, more of the earth’s mass will be closer to the center than you and therefore the force of gravity will increase.