No, that is not what the kernel lib is for. One potential avenue me and some others are exploring is using the library as a shortcut into bitcoin's internal block store to make indexing faster.
We are working on isolating the indexes into separate processes, which makes them more programmable and fault tolerant, so a bug in the indexes doesn't crash the entire node.
