Consider the vector field $$X=(y-10x)\partial_x-x\partial_y$$ it is not a gradient vector field with respect to the standard Riemannian metric of $\mathbb{R}^2$ but it is a gradient vector field with respect to the Riemannian metric $$g=5dx\otimes dx-dx\otimes dy -dy\otimes dx +5dy\otimes dy$$
As an interesting example, please search "Shahshahani Gradient". This gradient corresponds to a Riemannian metric on the phase space of certain vector field which is not a gradient system with respect to the standard metric but is a gradient vector field with respect to the Shahshahani Riemannian metric.
See for example: