Here is a slightly longer version of “no” from the CRA:

Can an official donation receipt be issued for the purchase of a lottery ticket?
It is the view of the Canada Revenue Agency (CRA) that no part of the cost of a lottery ticket is a gift. Therefore, a lottery ticket is not eligible for an official donation receipt.