The answer is no. Allan has not served as a Chief Justice of the Supreme Court of the United States. He has served as an associate justice of the Supreme Court of the United States, appointed in 1889, and as the 29th United States Secretary of War from 1899 to 1904.
Unlocking the Mystery: A Quiz on the Intrigues of Edgar Allan, Political Enigma