Having a VM doing 2FA that you access from your browser defeats the point of 2FA. You carry around a device in your pocket because that's the only way to secure the data inside it.
I personally wouldn’t want this to be browser only. I would enjoy it being device bound with a key.
That's an intriguing idea! Will have to look into it!