Texas and Florida have been using state emergency funds to pay private companies 10000x markup to ship illegal immigrants around the nation for over a year and have not been charged for it. They are lying about jobs to trick migrants into this plot. This falls under the terms for human trafficking.
So no, it’s perfectly legal for a state to move migrants around. Especially if you are not coercing them.