Some editions are, I suppose. For many things VS Community is free though.
I don't think any editions of Visual Studio are available as Open Source software. The Community thingie is gratis but doesn't come with source code.
There's VSCode (is that OSS?) but that's not an edition of VS but rather a whole different product.
It takes time to break things out from inside a larger closed source project...