My partner was the principal applicant when we were granted residence but we have now separated

Can I still apply for a permanent resident visa?

If you're a non-principal applicant who has separated or divorced while on a resident visa you can apply for a permanent resident visa in your own right.