Yes, Carl Czerny wrote only for the piano. His works include over 1,000 piano compositions, including studies, preludes, sonatas, variations, and marches. He also wrote treatises on piano technique and musical theory.
Mastering the Musical Genius: The Carl Czerny Challenge!