Yes. However, you will have to pay a much higher premium and the amount of insurers interested in taking this risk is reduced. Many people, who are under 25 but want car insurance in Spain, have a policy in their parent's name. They are then added as a named driver.