You possibly could be able to purchase a car from a dealership with a suspended license. It would depend on the dealership's guidelines and your state laws. For instance in some states you may be allowed to buy and register a car without a license while in other states laws might dictate that you cannot.
Many states require you to have proof of insurance when you register a car and if you do not have a valid license it is normally difficult to find auto insurance. You can contact your state's DMV to find out if your state has laws regarding buying a car while having a suspended license.
If you are able to buy a car and are going to have your license reinstated shortly you can go here to get a car insurance quotation.