Absolutely. You could just literally stop showing up one day, it is the company’s problem at that point. 2 weeks notice is expected, and giving less is considered a bit of a betrayal, but it’s perfectly legal. As much as like the idea of having the security of a contact, being forced to work honestly seems kind of strange to me.