No, Gaster will not be able to blame this on his lack of medication. Even though he has less self-control, he is still very much "himself". He has been thinking of something like this for a while (remember how I foreshadowed this in
two separate instances?), only pushed to do it by his volatile state.