Can i make a menu pop up by pressing esc

could it be similar to the Hotkey inventory.

You can’t, it’s a browser feature. You can not change this default behavior. You will have to use a different key.

Check this forum:

Or you could check it frame by frame as suggested in this post.