I suppose it's possible, but they're not going to be pretty:
Having been doing calisthenics for three hours, I am tired.
Calisthenics having been done by me for three hours, they thankfully ceased.
I cannot think of a reasonable example for the other (not to say that my first example is legitimate).