No, you cannot move an anvil once it has been placed. You'll need to destroy it and craft a new one if you want to use it in a different location.