Is the next sentence syntactically and semantically acceptable?

If anybody is spoiling the children, John is.
acceptable