Is there any way align the pivot point to the center of the object?

Click on object > switch from select mode to modeling mode > go to transform or XForm tab > edit pivot > center