Theoretically certainly possible, even if they are not explicitly designed for this. Note, however, that the load capacity is reduced in this way, especially for the lower one because of the additional weight and then also for the upper one, as it is not as stable as when it is on the floor.