Other than potentially causing irritation to your breasts or making it uncomfortable to sleep there's nothing wrong with wearing your bra to bed if you want too.
Sleeping in a bra won't help in any way by making your breasts perkier or prevent the breasts from sagging so you won't gain any benefit from wearing the bra to bed but it's not gonna hurt anything if you want to sleep in your bra.