Is right click on tables bad UX

We've a grid where users can select multiple rows and perform actions on them. When rows are selected, we show action buttons at the top of the grid. We've been thinking about making these actions available in a context menu where users can right click on the grid and see this menu. We think it's useful in some cases where the selected rows are at the bottom and user won't have to scroll all the way up to click on those actions.

Any thoughts about right click on the grid from UX perspective?

It is a web-app. We've homegrown design system on top of Material.