Piano lessons can absolutely be taken online, and many students do. Some actually prefer it. Some things are simply done differently, but the end result is the same. There are even some advantages:
What do you need for online lessons?
Would you like more information? Or a free trial lesson?