No, client can be built on any platform. The client interacts with the server which plugs into the API which is in Python. You can even build a wrapper around the API in your preferred language and have it interact with the API.
Wrapper is preferable in case you want to enhance the functionality provided by the whatsapp API.