Is there a way to port playcanvas project to three js?

AFAIK you have to write your application from scratch.

If you are using a standardized 3D format for your assets like glTF, you can import them into a three.js application without further adjustments.