That was one of the big problems when I was at Harvard studying music. We had to write choral pieces in the style of Brahms or Mendelssohn, which was distressing because in the end you realized how good Brahms is, and how bad you are.
At that time, the academic orientation was rather technical contrary to that of the university, where art theory is very important. The teachers were renowned artists and among the best of that time.