Is the next sentence syntactically and semantically acceptable?

I know a man who saw Bill and liked Mary.
acceptable