I wonder if I can add a custom right-click menu to the toolbar?

Why do you need to right click on the toolbar?

There is a API for general context menu access in the works. But it is not ready, yet.