Defining MQTT sensors in configuration.ymal

I have a HA installation with a large amount of MQTT sensors and entity’s (hundreds and more to come) that is defined in configuration.ymal and its becoming a bit hard to manage. Right now I’m forced structure the yaml like this:

mqtt:
  switch:
    name: Project 1 Switch 1
    name: Project 2 Switch 2
  sensor:
    name: Project 1 Sensor 1
    name: Project 1 Sensor 2
    name: Project 2 Sensor 3
    name: Project 2 Sensor 4

I would very much prefer if it was possible to structure it like this:

project_1:
  mqtt:
    switch:
      name: Switch 1
    sensor:
      name: Sensor 1
      name: Sensor 2
project_2:
  mqtt:
    switch:
      name: Switch 2
    sensor:
      name: Sensor 3
      name: Sensor 4

Is there a workaround to make this possible? Even better if its possible somehow to split it up in multiple ymal files.

Ahh perfect, thank you!