You need WhatsApp to be installed on a real device or a VM for mautrix-whatapp [1] (the bridge) to work. You also need to connect to that real device using WhatsApp web [2].
I know because I've used the bridge.
[1] https://github.com/mautrix/whatsapp [2] https://docs.mau.fi/bridges/go/whatsapp/authentication.html