Hello! Well yes, though it depends on the strength of the magnet and the thickness of the nail. If you want a direct answer, then yes, most of the time.
When the iron nail has been magnetized by the bar magnet, there is a high chance of the first nail to attract a second nail and work as a magnet itself!
Hope this helped :) Any confusions? Please ask me.