Probably illegal.
Yes! Remember when Trump kicked Jim Acosta out of the press briefings and a judge ruled that it was unconstitutional to do that so thy had to let him back in?