Be aware of 'fronting', though. This usually happens when a more experienced driver insures a car in their name, but a younger driver actually uses the car most often. The aim of this is to reduce the young driver’s premium. Fronting is illegal and could invalidate a car insurance policy.
You should also be aware that if you are added as a named driver, you typically aren’t able to build up a no claims bonus on that policy (you can still build up a no claims bonus if you have your own car and you’re insured as the main driver). Some insurance providers may let you do this, provided you take out your own policy with them in the future, so check with the provider.