Yes, Hazlitt was married to Sarah Stoddart from 1808 to 1824. They had two children together, William and Sarah. Hazlitt's marriage was not happy, and he and his wife separated in 1824. He never remarried.
The Literary Legacy of William Hazlitt: Do You Hazlitt in You?