Yes, people with diabetes can wear medical compression socks to bed if their doctor recommends it, as they are made to provide maximum comfort and reduce the risk of infection.