A quick Google search for "insert block vertices AutoCAD Lisp" returns 84 results https://www.google.com/search?q=insert block vertices AutoCAD Lisp
Picking those polylines highlights square grips on each of those vertices. Wouldn't that help?
GRIPS (System Variable) https://help.autodesk.com/view/ACD/2022/ENU/?guid=GUID-97AD30F3-A1A3-4027-91B7-49008841A447
Value Description
0 Hides grips
1 Displays grips
2 Displays additional midpoint grips on polyline segments
To adjust the size of the grips and the effective selection area used by the cursor when you snap to a grip, use GRIPSIZE (System Variable)
https://help.autodesk.com/view/ACD/2022/ENU/?guid=GUID-5F355F5F-0DDE-49B4-B253-C6BA717BAF8B