The seller told me I have to purchase title insurance from a particular company or they won't sell me the house. Can they do this?
No. They can't do it.
Under the Real Estate Settlement Procedures Act (RESPA), a seller may not require, directly or indirectly, a borrower to purchase title insurance from any particular company as a condition of the sale of a home.