I attended a talk at the college I go to that touched a few topics at a high level of how to step up our game from being just a regular programmer to becoming a great one, in which one of the speakers shared his opinion with the public with the question you read on the title...
Yeah, yeah, yeah, I know that we should know about DRY, KISS, SOLID, and a bunch of other principles or best practices to achieve the coding "Valhalla", but... is it true there is absolutely no creativity involved into coding?
The speaker's opinion can be resumed into:
"Things like design patterns and certain rules restrain us (programmers) from doing any kind of art form."
And no, this is not related to what the outcome might be, like a video game or an app, try to focus on the code itself.