Are sentences like these
- The man got beaten up who James saw take the train yesterday.
- The potato was eaten that Hayley said she wanted.
with these meanings
- The man who James saw take the train yesterday got beaten up.
- The potato that Hayley said she wanted was eaten.
acceptable in any varieties of English?
What's the name of this syntactic phenomenon, and in which varieties of English is it acceptable and in which unacceptable?