Since gravity is unlimited, can we use it as an infinite ...
No, gravity can not be used as an infinite energy source. In fact, strictly speaking, gravity itself can not be used as an energy source at all. You are confusing forces with energy, which are very different things.
Contact