Aside from the fact that if you sign a contract then you should honor your word, a training contract IS enforceable.
https://pilot-protection-services.aopa.org/news/2022/july/01/pilot-training-contracts