Many laws that are now considered by the legal system to be secular, yes, including Blue Laws (read the Warren's Court decision upholding Blue Laws), had a basis in religion at some point in time.
Wasn't Earl Warren a liberal control freak?