You may be eligible to deduct some of these costs, subject to certain restrictions. One thing to keep in-mind is the timing of the expenses and to determine which year of tax return they should apply to.
You can find more information on what is claimable and when on the CRA site here:
https://www.canada.ca/en/revenue-agency/services/tax/individuals/topics/about-your-tax-return/tax-re...