MS already did that. UWP apps are sandboxed. They even recently made an OpenGL implementation over DirectX 12 (vendor implementations are incompatible with UWP sandbox).
A few games in Microsoft Store are actually properly sandboxed as the result. For example, We Happy Few.
A few games in Microsoft Store are actually properly sandboxed as the result. For example, We Happy Few.