Question bout onion on feet

Emily
I be read if u sleep with onions on the bottoms of feet with socks on it can help remove toxins from your body. Does anyone know if this is ok to do while pregnant?