It’s possible by using one of the convex hull algorithms like Gift Wrapping or Graham Scan. Here is one of the examples: Convex Hull | Set 1 (Jarvis's Algorithm or Wrapping) - GeeksforGeeks
By using an algorithm like that you can create a convex hull that consists of a set of points. All the other points will be concave.