Some older codes used to allow 1 1/2" standpipes and traps for laundry drains, but that I am aware of, all of the newer codes require 2". Even with 2" pipe, it doesn't require much of a blockage to cause the pump on a washing machine to overrun the drain and overflow. There is a good reason that modern codes require what they do, they have the experience of many plumbing contractors and plumbing inspectors put into their creation.