Baby Cradle / Yao Lan

Hi everyone, may I ask your help to advice of letting baby sleep in electronic baby cradle (Yao lan) at 2 months old? My baby is born premature and keeps wanting to be carried day and night and we are all tired.. is it ok to let baby sleep in that cradle all day?