I (personally) would say that 'no', this is not okay to do. This is using an OOC command for something that is not meant to do, and since it echos to the rest of the playerbase, it can break the mood in-game. In fact, I would qualify this as a bug, personally.