How to create a waypoint patrol for an NPC on a 2D environment?

I am making a 2D game and I want to have people being instantiated at random points and from there to move on a small path set with waypoints.

Can I do this with A* Pathfinding project? I have taken a brief look at tutorials and haven’t found a clear way to do this.

Thanks

Yes, but not everything out of the box.

This is a pathfinding system, not a high level movement system.
It doesn’t provide things like patrol out of the box. And unfortunately (this is something that I should add however) it does not currently provide a movement controller for 2D. The existing ones can relatively easily be modified to work on the XY plane however.
What you get is the calculation of paths between those waypoints.