Do I think it is alright? No. I don't think it is. Seeking approval to cheat is doing yourself a massive disservice. Either cheat and own the fact you cheated, or don't cheat. To cheat and seek validation is really not taking responsibility for your own choices. If you are going to have the best possible outcomes post surgery then you need to be able to be responsible for your own choices, even when those choices are poor.
'I had a dill pickle even though i am meant to only be on shakes but it was just a pickle so its okay' is no different to post op 'I had a chocolate shake but it is still a full liquid so its okay because I was really tired and needed energy'. Sure, the calories and fat between a dill pickle and a shake are different and one is clearly better than the other but that's not the point.
This surgery is a tool and for you to use that tool effectively you need to learn to take responsibility for your decisions, actions, and choices over what you put in your mouth. So own the fact you had a dill pickle, you broke your diet, you learnt from it, and you won't have another dill pickle and instead choose to ride this hard part of the pre OP diet out as it will all be worth it in time. If you seek validation for your bad choices, you won't learn to take that responsibility.
I know this seems really harsh in response to a dill pickle, but for me, personal responsibility and honesty have been what has led to my own success.