I want to ask if praying extra nawafil on the bed is valid? If yes are there any conditions?

Also, if i pray for an amal, I recite 2 rakat on the prayer mat on the floor, can I continue reciting the tasbeehat on the bed which might include tasbeeh while I prostrate?

Both are allowed if mattress is not very soft.