Definitely not. For one thing, gravity isn't just mass. The gravity of a moving baseball is higher than a nonmoving baseball. The gravity of a charged battery is higher than a discharged battery. Same protons, neutrons, and electrons, but if you change their velocity or how they are arranged then they have more gravity. It's the stress-energy tensor, not just the mass (by which you mean matter?).
> Could gravity be the effect of mass in an indefinite form?
A very clear way to see this is not true is to compare stars and black holes to quarks. The space between quarks acts like they are different, larger or smaller quarks depending on how the real quarks happen to be arranged at that moment.
So, if we apply the same idea to a very large star, it would sometimes act like a black hole or a supernova or a star depending on where it was and how it happened to be doing and also maybe just sometimes spontaneously?
But mostly, if it was really far away you would expect it to act like a black hole, because from a far distance it seems like its all in one small point, and a black hole is an irreversible phase transition. But that doesn't happen, and stars look like stars no matter how far away you are. If reality worked like this, we'd expect nearby galaxies to have almost no dark matter and faraway galaxies to have lots and be very small. But instead galaxies and dark matter are pretty much the same no matter how far away they are from us.
This is a pretty ill-posed question though. I'm cramming it into a box that has an interesting answer just for fun, and I don't think it answers much of what you are asking.