Yes—be gracious in your reply, and ask for feedback regarding the quality of your application materials and interview skills. Also, make it clear you're a team player by asking the employer to consider you for other positions that fit your skill set and experience.