If you purchase a car for someone else, you have the option to have the loan in your name or to cosign with the individual you're buying it for. The only way to buy the vehicle as a surprise is to put in the loan in your own name. The title may be registered under both names.