Yes, that is perfectly allowable.
Remember that you still need to report all the contributions you made. On the RRSP/PRPP page, you can tick check the box
"Tick the box if you want to claim a less-than-allowable deduction" and put a number into the next box.
0 or empty means no deduction. Then next year, your unused contributions will appear in the
2nd box on this page - "Unused RRSP from previous years".