Yes, but lighthouses in Classic (Mesopothanian/Egyptian/Greek/Roman...) history or in Medieval times (*) were a lot different.
Medieval ones usually were some kind of flat-topped towers, with just a pile of wood burning on top.
(*):personally, I like to consider the end of the Middle Ages and the starting point of the Renaissance to be the "official" discovery of the Americas in 1492, though historians probably use a different moment