As per your definition, a star formed in a binary system (hence near some gravitating body) is a generalised planet.
The main flaw with your definition of a "generalised planet" would be the boundary between stars and planets.