Can you insure a car not titled in your name?

can you have insurance on a car if the title is not in your name?

Generally, no. You don't have anything to insure (called insurable interest).

The only time this is permitted is with spouses. The car's title may be in either name, but may be on the others insurance.