Yes, there was a Queen Barbara. Her full name was Maria Madalena Bárbara Xavier Leonor Teresa Antónia Josefa. She was from Portugal and became a Queen of Spain when she married Ferdinand VI of Spain.