Display slideshow as dashboard background

Are any of these things possible?

  • Set webpage as dashboard background, with cards on top (preferred)
  • Automatically refresh background image of dashboard view

I want to make a dashboard which displays full screen photos as slideshows, while showing useful information on top (clock and weather, and for instance camera streams if someone is detected outside).

The preferred way would be to point the background to a webpage URL, because then I can make some javascript to prefetch the next photo and update it automatically.

The next best thing would be to let Home Assistant automatically refresh the background photo somehow.

I know it is possible to make a webpage dashboard, but I believe it is not possible to add cards on top of it.