appending configuration object with any string?

In D7, I used variable_set(‘var_’.$current_theme,$abc),

how can I achieve this in Drupal 8 using configuration object,

Is there any way to append anything in yml?

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/4/feed