Yes, it is possible. If a foreigner is in the process of legalization and has not yet received a final decision, they have the right to change their employer. To do this, it is necessary to submit an application for the change, collect a set of documents from the new employer, and submit them to the relevant voivodeship office.