Yes, if the person works on a computer and has agreed to this tracking arrangement. You can create a separate user for a partner, consultant, or contractor and place that user in a separate group if needed.
Before work begins, define what is tracked, who can view the statistics, and how the data affects payment or reporting. For project work, supplement automatic statistics with task or project names so time for different clients can be separated.