The divorce act says that a breakdown of a marriage is established if the spouses have lived separate and apart for at least one year OR if the spouse against whom the divorce proceeding is brought has committed adultery or treated the other spouse with physical or mental cruelty. This means that yes, you can divorce your spouse if they have committed adultery.
There is a large however in this case which is that you can also divorce your spouse simply by living separate and apart for one year and there is no advantage to claiming divorce based on adultery other than to avoid the one year wait period. There is a disadvantage to claiming adultery which is that you will have to provide evidence to the court of the adultery which is much more difficult to prove them separation for one year, and also that you may end up causing increased conflict in your divorce proceedings.