Isn't that how humans develop feelings though? Dogs just don't have the ability to develop feelings the way humans do, I think it all depends on how you define feelings.

If I honestly think about it, I'm not sure when I really feel guilty rather than just trying to avoid avoid punishment or dissaproval. The guilt feeling comes from me disapproving of my own behavior, just an advanced version of basic "feelings".