Of course, you can use an anchor tag wherever. Some people use them whenever they want something to be clickable. I think it’s only best to use an anchor tag when the href field would actually do something without Javascript. Otherwise, it may be better to use a button.