Sort of.
"Finding somewhere to go" is not, on the surface, what A* is about. A* is about finding how to get there, once you know where you want to go; A* is just an algorithm for finding a traversal of some graph.
While it is widely used in games to find a traversal of a graph that represents navigable space (such as a grid), it can be used to find such traversals of graphs representing whatever you want, as long as you can express the concept as a graph with associated costs.
It's certainly possible to represent the decision space of an AI as a graph and use A* to find paths through that graph. How you'd make that usefully work in a video game is not immediately clear and might require some experimentation.
For example if you construct a graph representing primary driving goals of an AI (flight aggressively, fight defensively, flee outright) arranged as spokes with interim nodes representing tailored, blended behavior options, you might be able to use A* to find a path between two nodes that represents how the AI will change it's overall bearing over time. I'm not sure this is a practical approach (you could accomplish a very similar thing in a much simpler fashion), but it's something you could technically make work.
It's easier to see how it could work with a more concrete and defined scenario;
for a more concrete example of path-finding in "decision space," take a look at this question and the answer by DMGregory.