Yes, they can! When a boil occur on the eyelid, though, it is called a stye.