Is the following sentence linguistically acceptable?
Who did you give pictures of to friends of?
acceptable