Yes, Nizami Ganjavi's poems were meant to be sung. They are written in a rhyming form and have a strong rhythm, which makes them easy to sing. In addition, the poems often contain stories and characters that are familiar to people from the region, which makes them more appealing to listeners.
The Poetic Journey of Nizami Ganjavi: Unraveling the Gems of Persian Literature