By default, if you hover the mouse on a path, you can add an anchor point in the middle. But if you hold CMD key, you can add an anchor point anywhere on the path.
PS: If you find this tip difficult to understand, check out this course I prepared for you, where concepts are explained in a more digestible way. No programming experience required!