No.
A task force is another word for a committee that has meetings and discussions. At best it is a bunch of people devoted to a singular task.
A squadron involves military hardware. Planes, ships, etc.
The term has been used for ships in Star Trek before.
https://memory-alpha.fandom.com/wiki/Task_force
And it's used in real life
https://en.wikipedia.org/wiki/Task_force#United_States_Navy