Bras and sports bras

I’m 9+2 and wondering if wearing a sports bra at night is safe.. bras with underwires I can only stand for a few hours as the dig in so I’m wearing a sports bras most days.

But is it okay to wear a sports bra at night or let them be free??