Can a piece of one brain be transplanted into another?

No.11653004 ViewReplyOriginalReport
I havent been able to get a solid answer for this. I've heard that flatworms can learn from merging or consuming the brain material of other worms. If it's an immune issue, could twin animals with borderline identical immune systems integrate?
Pic unrelated but disappointing