Opam 2.2 will fully support Windows. Some of the code might break, but it's hard to predict which parts. The parts involving Unix commands like sed and ls might be OK, because by default opam uses an internal installation of cygwin, the commands for which might actually be available in local switches.