Yes, definitely. The shape and position of the inventory window is defined in WindowEdit. To display the inventory on right-click you'd need to modify game.script, and in the on "RightClick" handler set Game.InventoryVisible to true.
You will also need to modify game_loop.script if you used the standard templates, because by default it handles the sliding inventory.