Yes. The H1B visa serves dual purposes, not only it enables foreign nationals to work in the US, but they are also eligible for permanent residency by applying for a green card. Hence, if you are interested in settling in the US, start the process of applying for your green card. Once your H1B visa has expired, you may face difficulties with applying for a green card.