Yes, you can definitely overcook them! When they are overcooked, the yolks will have a green ring, and they will be chalky. They are still edible, but they are so much better when you don't overcook them. For a perfectly hard-boiled egg, you don't need to cook it beyond ten minutes.