No, it's not correct. It should be "six dozen cookies". By the way, place the portion you are asking about in quotes, like this: Is "They ate six dozens of cookies last night" correct?
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.