No. Really should not try this.
There are way too much reliance on actual scripting in MapNav to make things work correctly.
Few examples; the
public override void CreateGrid<T>() override is important during map creation time. This override
public override int Distance(int idx1, int idx2) is needed to tell the path finder what the cost is to move over various node types. There are plenty other reasons to stay in code with this.