I’ll tell you one thing, if you say in your TRV application you’re staying for 5 weeks in Canada, it weakens your ties to your home country. I strongly suggest to declare your trip to 2-3 weeks.
Assuming you get your TRV and everything goes smoothly at your immigration interview, yes, you will be allowed to stay for up to 6 months on a TRV.