Can I use cost segregation for a house hack?

Only for the rented part, since only that part can be depreciated. The part you live in is personal.

Learn more: Read: what is cost segregation?

Source: IRS Publication 527

Estimate your deduction

General information, not tax advice. Tax law changes, and the right answer for your return depends on your facts.