It could have been, but we are not sure. The night before an important event is often in Scripture a night of preparation, for example, the night before the exodus (Passover), or Jacob’s wrestling with an angel in Peniel before he meets Esau (Genesis 32:22–32), or Jesus’ wrestling in prayer in Gethsemane the night before his crucifixion (Matthew 26:36–45). This is could have been Moses' preparation.
24 Pendant le voyage, en un lieu où Moïse passa la nuit, l'Eternel l'attaqua et voulut le faire mourir.