No. Neil Patrick Harris did not appear in the TV series Heroes. You may be confusing him with another actor or a different show.