Rotate an object by its Center of Mass?

Hi everyone!

I would like to know if there is a way to rotate the center of mass of an object.

I have some objects that the pivot center is not centered as the center of mass, so when we rotate it, it rotates at the pivot point. Since there is no way to change the pivot point during game play (not even for a while) I tried to rotate the object based on its own center of mass, but is it possible?

I appreciate any help
thank you!