Yes. Alan Alda (Captain Hawkeye Pierce) played drums on-screen in several episodes, most notably "The Interview" (Season 4, Episode 24), where he sits at a drum kit during a mock press conference.
Alda was a competent amateur drummer in real life; the show incorporated his skill for character depth. Other cast members also played instruments (e.g., Mike Farrell trumpet, Harry Morgan piano).