Not recommended as the hammers may move on older type pianos but otherwise there is no reason a piano should go on its back. Grand pianos are always moved on their side and stored that way too. Upright pianos are sometimes moved on their side to get around tight corners and passageways. Putting them on their side is no real issue either.