Answer
No.
Work Step by Step
Frictionless means that no momentum (from either object) can be passed to the Earth. The only objects exchanging parts of their momenta are the two objects mentioned.
The initial momentum of the system is nonzero. The final momentum of the two objects can not be zero (they can't both be at rest).