Should I ever use a competing offer to negotiate a raise at my current company?
This is generally not recommended. It can flag you as a flight risk. If a layoff happens, people who leveraged an offer to stay are often first on the list. The better use of a competing offer is as leverage with the new companies you're already interviewing with — pushing them against each other is standard and expected.