Is it legal for a dealership to sell a car to someone with only a permit?

it is legal as long as they meet the financing requirements and insurance requirements of the financing. paying cash you bet.