No, because in the end, something needs to keep moving the magnet forward to keep the truck moving forward.
This thought processes is exactly how scammers on YouTube make perpetual motion seem possible, but by definition, the forces always have to cancel out.
It’s perfectly fine as long as centaurs are sentient.
It’s not wrong as long as everyone can properly consent, have a full understanding of the situation, and there’s no coercion.