Yes, it can cause it.
I work on a legal case where a woman died few hours after she got IUD inserted. Initially she was feeling unwell, then she felt irregular heartbeat and short breath before she had a heart attack.
Needless to say, she did not have any heart condition in the past and her general health was very good.
Ladies, be careful. I would not suggest having IUD.