Can I use external SDK on nakama server?

I want to run a separate WebRTC server like LiveKit and call it from Nakama. I thought it might be possible using Typescript RPC, but this seems difficult.
LiveKit supports npm SDK, but is it impossible to use this SDK using only Nakama? So should I create another server and make Nakama access LiveKit through that server?

Nakama Typescript Runtime

LiveKit SDK

if it has a way to call via REST API you can call it like on this sample

Thanks for the comment. I am also currently testing according to this page.