We can use the DirectXShaderCompiler (DXC) API to compile HLSL code and do reflection on the created output - as described, for example, in this or this blog post.
No