If I was going to put a border around a word, I would insert a text frame at the appropriate place, insert a table with one row and one column, set the appropriate width, set the margins to 2 pt or so, and set the appropriate ruling style. Then I would insert the word or phrase.