Is the following sentence linguistically acceptable?
What John did to the whole wall was paint it.
acceptable