Is this an exploit? What is the drawback

Assuming that the opinions time out at the same time, yes, "free" money for you.

Note that vassals do spend the money they accrue on improving their holdings, so your realm as a whole didn't change wealth. It's not an exploit.