I have never seen a state law that would prohibit such a requirement, and in the absence of a prohibition it's allowed.