Question: is a keyboard as good as a piano?
Answer: Yes, learning piano on a keyboard is possible. The layout of keys is identical on both instruments. The songs you learn to play on a piano will transfer directly to a keyboard, and vice versa, with little adjustment needed for small differences in the width of the keys or the amount of pressure needed to play them.