You can buy car insurance without a license. But without it, insurers won't have access to your driving record to assess your risk level. You may be considered a higher risk, potentially increasing insurance rates.
To get coverage, list a licensed driver on your policy or get excluded yourself. Consider SR-22 insurance for a suspended license, non-owners insurance for borrowed cars, or parked car coverage for your classic vehicle.