One can certainly design one's apps in such a way where the cloud provider doesn't necessarily matter -- docker containers running on VMs, for instance.
If you use a bunch of things like SQL Server, Document DB, etc. that is certainly much harder to migrate than PostgreSQL running on a VM.
Very good point. You could leverage Docker and an overlay networking solution like ours[1] to abstract yourself from the provider APIs and even the network itself.