You can trim the root and branches, but if you killed the tree by doing that, you caused damage and is liable to your neighbor.