Is hypothyroidism hereditary?

Sometimes. Depends on the cause of your hypothyroidism. Congenital hypothyroidism (since birth) is less hereditable than acquired (latter in life) hypothyridism.
Sort of. If you are genetically predisposed to having thyroid problems that genetic predisposition could be hereditary. But actual chance of developing problems also depends on other factors such as environmental exposure and lifestyle.