Is it possible to set an item group icon in the menu bar?


I want to add a “browser-like” feel and functionality to my electron app, but instead of the CSS solution I want to use the menu bar option to implement back and forward buttons.
So, when enabling electron menu bar, is it possible to set an icon to the group name, like I can do with the sublist items?
I attached an image to explain myself better - can I set to “menu1” an icon like I can set to “Undo”?

My purpose is to set back and forward button icons there…