Termination dates are in the employment contract 99.9% in Sweden. At most you’ll get a “lmao, no”.
It seems like you could really harm a company by forcing them to pay you to nothing if because they don't want to start someone on a project they will definitely leave half way through.