I think there is no way to import python code to NNC, but it might be possible to import your model saved in tensorflow, onnx and nnp format.
NNC importer uses nnabla file fomat converter, and here is the support status:
It seems to have some limitations, so you may not be able to import it if the model contains latest layers or unsupported layers.