The torque is always calculated with reference to some chosen pivot point. For the same applied force, a different choice for the location of the pivot will give you a different value for the torque, since both and depend on the location of the pivot. Any point in any object can be chosen to calculate the torque about that point. The object may not actually pivot about the chosen “pivot point.”
This is important later when we consider angular momentum in an astronomical setting, where the axis of rotation is not necessarily the center of the orbit. In fact, an astronomical object like 'Oumuamua might not even be on a bound orbit, but an unbound orbit -- it enters the solar system, interacts gravitationally with the Sun and then exits the solar system.