Can light fixture be installed in attic hatch?
Nothing in NEC section 410 prohibits the placement of a luminaire in or on a door or hatch.  However, you'll want to use a flexible cord pigtail with strain reliefs between a fixed junction box and the movable door as NM cable is not designed for repeated bending.  (Flexible cord is allowed here by 400.7(A)(9), BTW.)