Consider the Laplace equation, $$ \nabla^2 f(r,\theta,\phi) = 0 $$ in spherical coordinates. We know that the solution to this equation can be derived analytically, and is given by, $$ f(r,\theta,\phi) = \sum_{l=0}^{\infty} \sum_{m=-l}^l \left( A_l^m \frac{1}{r^{l+1}} + B_l^m r^l \right) Y_l^m(\theta,\phi) $$ where the coefficients $A_l^m,B_l^m$ would be determined by boundary conditions on the solution $f$. This solution is built out of the eigenfunctions of the Laplacian $\frac{1}{r^{l+1}} Y_l^m$ and $r^l Y_l^m$.
My question is, do numerical methods exist which can generate these basic building blocks $\frac{1}{r^{l+1}} Y_l^m$ and $r^l Y_l^m$ if we didn't already know them from analytic results? Ultimately, I want to build these types of functions for a coordinate system where the Laplacian does not separate and for which there are no known analytic solutions.