Not really. I guess you could, in cases where you had the C source code, and were happy to compile everything into bytecode (including all that C codes dependencies with it). You wouldn't be running native code any more unlike JNI. JNA would be considered an alternative.