As far as I understand it, it totally would be able to. It might be more or less efficient than a conventional computer (QC is not going to revolutionize the world of spreadsheets ...), but it shouldn't be impossible.
The problem with OTP is that if you intercept an encrypted text, trying out all combinations will produce a list of all texts with the same length.
The problem with OTP is that if you intercept an encrypted text, trying out all combinations will produce a list of all texts with the same length.