Yes! That's what I use - it's very convenient. The first line of the pass file needs to be the totp string, that's all. But you can also use oathtool at the command line with the secret.
oathtool -b --totp <otp secret>
oathtool -b --totp <otp secret>
The app is also handy for bootstrapping OTP, because some implementations only give you the QR-code, not the secret or URI, and then you have to do the dance with decoding the QR-code before adding it.