Yes, you can enter the sum of your prescriptions.
Just make sure to save the itemized receipt in case the CRA asks to see your documentation later.