Yes, you can buy and hold stocks in an Registered Retirement Savings Plan (RRSP) providing it is considered a qualified investment by Canada Revenue Agency (CRA). Funds held within an RRSP can grow tax free until withdrawn where it is taxed accordingly.
We are not able to give financial, tax or legal advice however, it may be of interest to learn how RRSPs and self-directed RRSPs work. The resources available on GetSmarterAboutMoney.ca may help to build your knowledge on this and other topics.
Speak with a registered financial representative for further advice.