I think that Stan could probably sue if he wanted to, as the copyright law seems to allow creators to sue regardless of prior agreements.  Given that he was an employee of Marvel at the time, and there seems to be no wiggle room to dispute the contention that he was a work for hire employee, it's not worth it to go through the bother of suing.

     Allen Smith