In a word: yes. In a few more words: if your pain levels allow. If you can manage it, walking is a great way of staying fit while also helping to strengthen the muscles around your affected hip. Swimming will also help in this department if you find walking too painful.