Her landing was in dec 2022 and we got married in sep 2022. So yes before landing we got married. After 1.5 half year the same agent applied for my spoucal pr apllication. And I have done with my medical and pcc in march 2024. At the time of eligblity check (August 2024) i got a PFL that you are not consider under family class.
So then unfortunately your chances are not good since your wife failed to declare you in her application before landing. Generally speaking, IRCC holds the applicant responsible. There's always some chance and it is good you are working with a lawyer. Good luck.