The short answer is yes. The Queen's government is headed by a prime minister. Appointment and dismissal of prime ministers are common reserve powers that can be exercised by the Queen or her governors-general.