Yes, both Charles Darwin and Albert Einstein were married.
Charles Darwin married his cousin Emma Wedgwood on January 29, 1839. They had ten children together: William Erasmus Darwin, Anne Elizabeth Darwin, Mary Eleanor Darwin, Henrietta Emma Darwin, George Howard Darwin, Elizabeth Darwin, Francis Darwin, Leonard Darwin, Horace Darwin, and Charles Waring Darwin.
Albert Einstein married Mileva Marić, a fellow physicist, on January 6, 1903. They had two sons: Hans Albert Einstein and Eduard "Tete" Einstein. However, Einstein and Marić's marriage faced difficulties, and they eventually divorced in 1919. Einstein later remarried his cousin, Elsa Löwenthal, on June 2, 1919, and they remained married until her death in 1936.