Q:

Is it possible to have a negative attraction to gravity just like how magnets with same pole does?

Layman question here, is it possible for an object to be negatively attracted to a gravitational pull of another object? Like how same pole magnets repels each other, can it happen on gravity too?

A:

No - one of the key differences between electromagnetism and gravity is that the latter only has a single "charge" and everything always attracts.
This holds true even in general relativity, but as long as you are only talking about the mass/energy density of material. In GR, pressure itself can cause gravitational effects, and these can indeed look repulsive, as is the case for dark energy driving the universe's expansion. Even dark energy, though, has positive energy density. If we ever discovered something with negative energy density, well, that would break a lot of things in physics for starters.

