Can I use the Display: component for remote screen

Hi,

Can I use the Display: component for a remote display, using browser_mod.popup ?
I know I can use this directly in the code in any automation but I would like to put it inside a component for calling any particular file to be shown on the remote screen.

    - homeassistant.service:
        service: browser_mod.popup     
        data_template:
          entity_id: ${browser_media_player}
          browser_id: ${browser_id}
          size: fullscreen
          content: !lambda |-
            return "{\"type\": \"picture\", \"image\": \"https://<path & file\"}";

what do you mean “component”?