A vehicle headrest assembly including a massaging mechanism that has at least one moving component and multiple settings. The massaging component further includes a heating element for providing therapeutic heating or cooling. Several headrest assemblies may be incorporated into a rideshare vehicle or public transport vehicle. The massaging settings are selected by an occupant or driver and include adjustments in temperature and speed at which the moving component progresses. The massaging mechanism further includes a microprocessor configured to implement a safety check and limit certain functions if the request is associated with a headrest assembly on a driver's seat while the vehicle is being driven.