Yes, some forms of staphyloma can be hereditary, particularly when associated with genetic conditions like high myopia. A family history of ocular diseases may increase the risk of developing staphyloma.