I shouldn’t laugh- have had dogs for over 30yrs, and gardening has been challenging to say the least. The 2 dogs I have now (12 & 7) have quietened down, but then I’ll find a patch they’ve been digging in! If you’re growing thing like salad stuff? radishes, lettuce, rocket etc, maybe you could have containers on benches. Even old washing up bowls, flower pots.