Yes. A task created on the client profile Tasks tab gets the right client link immediately and is pushed to GoHighLevel the same way as a task created on the main tasks page.
The only difference is the input context: from the client profile, the client is already selected for you; from the main page you have to pick it.