It depends on the specific structure. Thalidomide racemize because it has quite acidic proton at the chiral center. I can see some chiral secondary alcohol easily racemize via oxidation-reduction sequence but I think those reactions are tested during drug development and if the racemization is occuring, it might stop the drug being developed further or at least forces some structure modifications to stop the racemization. This is, for example, one reason why axially chiral drugs are very rare, because racemization is very easy in those compounds