My phone is broken, and I need to use Whatsapp. I already tried Whatsapp Web, but it is asking for me to scan a QR code, which I can't. Is there any other way to access my Whatsapp account through my PC with the help of an OTP or something?
Nope. Currently QR code is the only way to access the messages on your PC. The messages never leave your phone, they're merely just displayed on your PC, unlike Telegram or other messengers, where messages are synced online through their servers.
Your problem's solution is genymotion emulator its easy and fast Go to this link and select download for personal use. As you said you can get otp, so it will be a perfect solution.
If your phone is broken you can download whatsapp via an android emulator on your pc and use it easily that way.