Theoretically yes. The language is the same, you just have to write a C header that translates the variables and functions. This is however a diligence challenge and no real fun.