Yes, but do it at least an hour before. You should feed your dog an hour before taking them for a walk. After a walk, let your dog rest and calm down to properly digest their food.  Since there is a risk of bloating and other such issues when you feed them before a walk, I would recommend feeding them after a walk.