1.
if something can be done in principle , there is no good reason why it should not be done although it has not yet been done and there may be some difficulties :
In principle there is nothing that a human can do that a machine might not be able to do one day.
2.
in general but not in detail :
They have agreed to the proposal in principle but we still have to negotiate the terms.