However, if the wall is strongly mortared together and is at least 8" wide at the top AND parts of the top course are perfectly level, you can bolt steel cups (boots) to the top and set posts into these. Trellis offers very little wind resistance. It would be far easier to build posts into the wall as you build it, about 5 courses deep should just about do it.
This I can't vouch for. Parts of it are falling apart from root damage and the rest of the mortar seems quite fragile. I hope to add some strength when I repair it but I imagine it's probably going to still be quite weak.
I'm tempted to give a straightforward 'no'.
However, if the wall is strongly mortared together and is at least 8" wide at the top AND parts of the top course are perfectly level, you can bolt steel cups (boots) to the top and set posts into these. Trellis offers very little wind resistance. It would be far easier to build posts into the wall as you build it, about 5 courses deep should just about do it.