If you drive a friend's car alone and do not have insurance are you breaking the law if the friend has insurance and you have a license?

Unless the policy has a clause that says it is only insured for listed drivers, the insurance follows the car. If it is listed on your friend's policy, it is covered whenever a licensed driver is behind the wheel. This is assuming that you are only borrowing the car temporarily. If you are using it long-term your friend should have you listed as the primary driver on his policy.