Elsevier used to demand you sign over all copyright, which would make that illegal (think about it...!!) They've also sent takedown notices to academics that posted their
own articles on their own website. Oh, and by the way, Elsevier also sued Sci-hub and LibGen...
The Wikipedia article has a long section of criticism of Elsevier: https://en.wikipedia.org/wiki/Elsevier#Criticism_and_controv...