You could definitely say it. However, I would probably say, "I didn't invite my ex girlfriend to my wedding. " Just my humble opinion by what sounds correct to me.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.