In the United States, for example, the laws regarding car ownership and licensing vary from state to state. In some states, you can purchase a car for a family member and register it in your name, even if you do not have a license. However, in other states, you may be required to have a valid driver's license in order to purchase and register a vehicle.
It is important to research the specific laws in your jurisdiction to determine whether or not you can buy a car for a family member if you have a license. You should also consider the potential insurance implications of purchasing a car for someone else, as your insurance policy may not cover the vehicle if it is not registered in your name.