Yogasanas session should be attempted / practiced only on plain surface and not on bed as it will interfere with the spinal alignment and may cause damage instead of benefits.
So, it would be better if the yogasanas are practiced on plain hard surface with yoga mat over it.