Yes, you can wear an ankle brace to bed. It is important to make sure that the brace is not too tight or restrictive, as this could cause discomfort or restrict circulation.