Sleeping

He
My son is more than happy to fall asleep and lie in his prams carry cot than he is in his Moses basket. 
Any help? Can I leave him to sleep in his carry cot overnight?