Do car insurance companies know if your license is suspended?

Yes, in practice they do. Car insurance companies typically ask for a driver's license number and use it to check the applicant's driving history, which is how a suspension shows up in the record. Driving without a valid license can result in fines, vehicle impoundment, or jail time, and if an unlicensed driver causes an accident the insurer may deny coverage.