I had problems starting the car this morning.
I had no difficulty passing the exam.
I had no trouble finding a place to live.
We all had a good time dancing last night.
The children have a lot of fun playing together.
In the above sentences, can I take the gerund phrases (in bold) as the appositives of the previous nouns?