No. Your ex-husband cannot be a qualifying dependent for you to file as Head of Household. Since your marriage ended by the end of 2023, you can only file as Single or Head of Household. If you do not have a qualifying dependent --usually but not always a child-- then you cannot file as HOH.
Am I Head of Household?
https://ttlc.intuit.com/questions/1894553-do-i-qualify-for-head-of-household
https://ttlc.intuit.com/questions/2900097-what-is-a-qualifying-person-for-head-of-household
If you qualify as Head of Household, when you enter your marital status (single or married filing separately) into MyInfo, and then enter your qualifying dependent, TurboTax will offer HOH as your filing status.
**Disclaimer: Every effort has been made to offer the most correct information possible. The poster disclaims any legal responsibility for the accuracy of the information that is contained in this post.**