No, John J. Morgan did not serve in the 18th century. He was born in 1822 and served as a Confederate general during the American Civil War, which took place in the 19th century. The 18th century spanned from 1701 to 1800, so Morgan's lifetime and service fell outside of that time period.
John J. Morgan Challenge: Prove You're the Ultimate John J. Morgan Master