Yes, you can get an M-PESA statement for three (3) years, but you cannot get it online. You will need to make the request at a Safaricom shop.