Is the next sentence syntactically and semantically acceptable?

John scratched his arm and the boy who Mary knew did so too.
acceptable