Yes, government donations can be considered charitable donations, it is best to contact the Canada Revenue Agency (CRA) to confirm the donation is applicable. It is also best to save receipts from donations in case the CRA would like to verify any specific donations.
For more information on charitable donations please refer to the following Turbotax article: