What is index_method in PostgreSQL?

In the Postgres docs, index_method is used.

  1. Are Index Methods and Index Types the same thing?
  2. Is it possible to create your own index method or are we restricted to the predefined ones ?

I just want to know if it is possible and do people do it. I don’t have any reason to create an index method myself