Yes. Money from various sources, including money received from the Canada Pension Plan (CPP) can be contributed into your Tax-Free Savings Account (TFSA) if contribution room is available. You should be aware that CPP payments are considered taxable income. However, normally tax is not automatically deducted from the payments.
Learn more about Tax-Free Savings Accounts (TFSA) and consider speaking with a tax professional for advice that fits your personal financial situation.