Sounds like there is an issue with Bitwarden’s OTP. Have you try contacting Bitwarden support? I don’t have a premium subscription and can’t replicate.
Out of curiosity, Yubikey 5 can handle both Fido and OTP, why would you want to use the OTP part since it’s less secure? That was one of my main complains about the Yubikey support on Last Pass.