Tree Component Context Menu Prop Items Addition

I recently discovered the Meta/Context Menu for the Tree Component and I was wondering if it's possible to use that to add more Items to the tree by using a method. I was thinking of having that as an option for end users, similar to a Windows Explorer ability. Simple example shown: