Would the following sentence, by the strictest standards, be considered correct by a linguist?

John believes him to be a nice guy.
acceptable