No, it is not OK to leave a fire pit burning overnight. Embers and ashes pose serious fire danger, even if the flames are entirely out. A fire pit should actually never be left unattended.