No. William Smith played U.S. Marshal J.D. Cahill in the 1971 film Cahill U.S. Marshal (starring John Wayne).
John Wayne's sons—Patrick, Michael, Ethan, and John Ethan—appeared in some of his films (e.g., The Alamo, Big Jake), but none played Cahill.