Not necessarily. For a fairly simple sites, Drupal works out of of the box. For complex websites which offers lots of features to the end users, it will require custom coding in order to build those features. If you plan to use your own theme with better UI & UX, you may require to write a few blocks of code in themes files.
To publish a website built using Drupal, do I need to write custom code?