State laws may vary. You don't need to drive to buy. If you have money, insurance you can buy. May not be able to get state registration without a license.
I would first check with local and state but normally no you would not need a drivers licence to make a purchase,in the simplest regard you just need to provide proof of legal age to sign a contract....