USB web interface

Hey gang, I saw a brilliant feature recently on a Remarkable 2 device (which I didn't actually think was possible) and wondering if it's feasible to recreate it with an arduino or ESP as it would be hella useful:

Connect the device to your computer with USB cable, then navigate to and it serves up a web page.

I have to assume that the microcontroller drivers on our computers wouldn't allow this form of communication, but isn't it a brilliant idea? You could plug your device into a computer and use a web page to view info and configure it without messing around with wifi