I just ran across this question.
Is it even a question? What kind of simpleton would even ask it?
Of course it can be taught. Just because a few people are unable to learn a new language, just because some people pick a language up easily and others must struggle, none of this means that Spanish cannot be taught.
Of course composition can be taught. Art schools have been teaching it for 100s of years, perhaps 1000s.
Only a photographer would ask this.