Render Dom into Reflection

is it possible to render the dom as a reflection material into 3d elements?
Basically I’d like to do this:

But instead of using the environment map I’d like to use an image of the viewport.

Most of the examples I see are, i believe, workarounds, like that for example:

You can render DOM elements into a canvas and then use it as a texture. The class HTMLMesh does this in order to use stats.js in WebXR.

However you are looking for a replacement of an environment map. And I’m not aware of a solution to generate such a map from DOM elements.