Ok, for example, look at the word "spend" in the dictionary. The word has many meanings & each meaning has many different structures.
[transitive] to use time for a particular purpose; to pass time Source
spend something + adv./prep. We spent the weekend in Paris.
spend something on something. How long did you spend on your homework?
spend something doing something. I spend too much time watching television.
spend something in doing something. Most of her life was spent in caring for others.
So, my question is that:
If we can say "I spent a lot of time on my homework", then can we say:
-"I spent a lot of time doing my homework"
-"I spent a lot of time in doing my homework"
If we can say "I spent too much time watching television", then can we say:
-"I spent too much time on television"
-"I spent too much time in watching television"
If we can say "She spent most of her life in caring for others", then can we say:
-"She spent most of her life caring for others"