Yes. However, you should remember that during the procedure for granting a temporary residence permit, the main purpose of your stay in Poland may be verified. If you work full-time and earn your living, this may result in a negative decision in the case of applying for a permit for the purpose of studies.
If you work full-time, you should apply for temporary residence and work. While staying in Poland on the basis of a temporary residence and work permit, you can continue your studies.