Configuring Drupal with a remote database is possible and in some cases recommended.
Our Drupal 8 EK management tools application is a particularly good case where this setup is very helpful. EK manages Drupal system configuration database and content database separately. In other words, the installed database from Drupal 8 and the database where all EK custom modules save their data are different.
This configuration brings few benefits: