Theoretically this could be done in Canada but there are very few common maneuvers so you would essentially being doing 2 complete test which would take a least 3.0 hours of flight time. You would be pretty tired at the end of that marathon 🤔.
I do know one individual that did both tests in one day, the CPL in the morning a break for lunch, and then the IF in the afternoon on the same airplane.