I've never done it. I think the trick is that the mounting holes are a bit further apart (to allow some margin for error!) than the fully compressed length of the strut.
Not sure if you'd have to re-inforce anything (I mean, it's not supposed to be supported from that position).