In a word, no.
The parties would need to be able to produce a consent from the Bank to any such arrangement before a Court could "rubber stamp" it.
It is only in circumstances where property is held debt free that a Court can make what is called a Property Adjustment Order.
mf