I am not sure if the phrase "thing you can imagine X" can be used like I tend to used it in the past.
Here are some examples I thought of"
This is the last thing I can imagine doing.
This plane is the last thing I can imagine flying in the air.
The first one seems correct, because "doing" is attached to "I", but in the second one "flying" is attached to "plane", and this construction seems to be awkward and ungrammatical for that very reason. There's no apparent link between the two. Am I wrong?