Yes, the Bible records several miracles involving the sun, including three days of supernatural darkness in Egypt during the plagues, a long day when the sun and moon stood still for Joshua, and darkness covering the land during Jesus’ crucifixion.