Yes, it's just the passive form of the phrasal verb "sell out", as all explained above.
Just one little thing - the sentence sounds a bit strange because of the tortology. "Sold out" means "all sold", so you don't need to say "all the tickets".
Better to say either "The tickets were sold out" or simply "All the tickets were sold".