Yes, you can apply for permanent residency or citizenship in Portugal, after fulfilling the residency requirements. If you have lived in Portugal for at least 5 years on a work visa, you can apply for permanent residency, and eventually citizenship. You need to show that you have a steady income, hold a valid residence permit, and can speak some Portuguese (about an A2 level). You will also need a clean criminal record and proof of your life in Portugal, like tax payments or a job. With permanent residency, you get rights similar to those of Portuguese citizens, but if you go for citizenship, you will be able to get an EU passport. A lot of foreign workers see Portugal as a solid option for settling down in the EU.