Is it possible to use the verb "to do" when you are referring to feelings that, at least hypothetically, you could control, like in the phrases below:
I admit I have been a bit jealous, but you would do the same if you were married to a woman and everywhere you go, there are always a lot of men trying to get her attention.
and
I won't deny that I'm feeling a bit nostalgic lately, but you will probably do the same when you get to my age.