Is free5GC linked to ns3?

Dear Sir,

I want to try network simulation using ns3.
At this time, is it possible to configure 5G core network by using free5GC and connect it with ns3? Then, is it possible to test the simulation environment?

Thank you.

Sorry because we’re not familiar with ns3 so we do not know if free5GC and run on ns3.

Or could you explain more details about ns3?