Consider a force field defined as
$$\vec{F}(x) = \left(\frac{A}{x^2}-B\right)\hat{i}\space$$
where $A, B$ are positive constants. We want to get the potential energy function for this field. We can integrate this,
$$U(x_f)-U(x_i) = -\int_{x_i}^{x_f} Fdx= \left(\frac{A}{x_f}+Bx_f\right)-\left(\frac{A}{x_i}+Bx_i\right)$$
Now, we want to define a zero potential. Can we do so at $x=\sqrt{-\frac{A}{B}}$? (which is an imaginary point) Because putting this into the equation makes the last term on the RHS zero giving a simpler expression.
Specifically, is it valid for us to define the zero of potential energy function at an imaginary point? Does talking about imaginary numbers even make sense when talking about the potential of a force field?