Dynamic Inputs

Is it possible to have dynamic inputs like

input:
    sw_primary:
      name: Switch Primary
      selector:
        entity:
          domain: switch
    sw_secondary:
      name: Switch Secondary
      selector:
        entity:
          domain: switch
   sw_XXXXX

to allow users that want to add more than 2 devices for this blueprint

https://community.home-assistant.io/t/switch-group-stairs-or-corridor/255309

This is possible and already used in other blueprints.

Like this:

light:
      name: Light(s)
      description: The light(s) to control
      selector:
        target:
          entity:
            domain: light

and then in the action:

service: light.turn_on
target: !input light

Yes but how you do the

entity_id: >-
      sw_primary, sw_secondary

by using target:

target: !input light